+{ storepath_length ? 42, storepath_chunks ? 6, pkgs ? import <nixpkgs> {
+ overlays = [
+ (self: super: {
+ zstd = super.zstd.overrideAttrs (old: {
+ postPatch = old.postPatch + ''
+ sed -i 149d build/cmake/lib/CMakeLists.txt
+ '';
+ });
+ glibcLocales = super.glibcLocales.overrideAttrs (old: let
+ libc = self.buildPackages.stdenv.cc.libc;
+ in {
+ buildPhase = ''
+ mkdir -vp "$TMPDIR/${libc.new-out}/lib/locale"
+ '' + old.buildPhase;
+ installPhase = ''
+ rmdir $TMPDIR/"${libc.out}/lib/locale"
+ ln -s "$TMPDIR/${libc.new-out}/lib/locale" $TMPDIR/"${libc.out}/lib/locale"
+ '' + old.installPhase;
+ });
+ })
+ ];