Merge pull request #173430 from Artturin/fetchzippost

authored by

Artturi and committed by
GitHub
e00bb60b b2e67a34

+80 -53
+2 -2
pkgs/applications/editors/eclipse/plugins.nix
··· 345 345 src = fetchzip { 346 346 url = "https://download.jboss.org/drools/release/${version}/droolsjbpm-tools-distribution-${version}.zip"; 347 347 sha512 = "2qzc1iszqfrfnw8xip78n3kp6hlwrvrr708vlmdk7nv525xhs0ssjaxriqdhcr0s6jripmmazxivv3763rnk2bfkh31hmbnckpx4r3m"; 348 - extraPostFetch = '' 348 + postFetch = '' 349 349 # update site is a couple levels deep, alongside some other irrelevant stuff 350 350 cd $out; 351 351 find . -type f -not -path ./binaries/org.drools.updatesite/\* -exec rm {} \; ··· 507 507 stripRoot = false; 508 508 url = "https://github.com/${owner}/${repo}/archive/${rev}.zip"; 509 509 sha256 = "1xfj4j27d1h4bdf2v7f78zi8lz4zkkj7s9kskmsqx5jcs2d459yp"; 510 - extraPostFetch = 510 + postFetch = 511 511 '' 512 512 mv "$out/${repo}-${rev}/releases/local-repo/"* "$out/" 513 513 '';
+1 -1
pkgs/applications/misc/electrum/default.nix
··· 39 39 rev = version; 40 40 sha256 = "sha256-BoikYSsQZAv8WswIr5nmBsGmjZbTXaLAbdO2QtPvc7c="; 41 41 42 - extraPostFetch = '' 42 + postFetch = '' 43 43 mv $out ./all 44 44 mv ./all/electrum/tests $out 45 45 '';
+1 -1
pkgs/applications/misc/electrum/ltc.nix
··· 38 38 rev = version; 39 39 sha256 = "sha256-oZjQnrnj8nCaQjrIz8bWNt6Ib8Wu2ZMXHEPfCCy2fjk="; 40 40 41 - extraPostFetch = '' 41 + postFetch = '' 42 42 mv $out ./all 43 43 mv ./all/electrum_ltc/tests $out 44 44 '';
+1 -1
pkgs/applications/networking/instant-messengers/jami/default.nix
··· 15 15 sha256 = "1zw9azwmxr4991nq5kl527lbwlj7psrissgvrkl1kxxbfbdncbhh"; 16 16 17 17 stripRoot = false; 18 - extraPostFetch = '' 18 + postFetch = '' 19 19 cd $out 20 20 mv ring-project/* ./ 21 21 rm -r ring-project.rst ring-project client-android client-ios client-macosx client-uwp
+1 -1
pkgs/applications/version-management/git-and-tools/gitweb/default.nix
··· 6 6 owner = "kogakure"; 7 7 repo = "gitweb-theme"; 8 8 rev = "049b88e664a359f8ec25dc6f531b7e2aa60dd1a2"; 9 - extraPostFetch = '' 9 + postFetch = '' 10 10 mkdir -p "$TMPDIR/gitwebTheme" 11 11 mv "$out"/* "$TMPDIR/gitwebTheme/" 12 12 mkdir "$out/static"
+1 -1
pkgs/applications/virtualization/gvisor/default.nix
··· 43 43 repo = "rules_proto"; 44 44 rev = "f7a30f6f80006b591fa7c437fe5a951eb10bcbcf"; 45 45 sha256 = "10bcw0ir0skk7h33lmqm38n9w4nfs24mwajnngkbs6jb5wsvkqv8"; 46 - extraPostFetch = '' 46 + postFetch = '' 47 47 sed -i 's|name = "protoc"|name = "_protoc_original"|' $out/proto/private/BUILD.release 48 48 cat <<EOF >>$out/proto/private/BUILD.release 49 49 alias(name = "protoc", actual = "@com_github_protocolbuffers_protobuf//:protoc", visibility = ["//visibility:public"])
+1 -1
pkgs/build-support/fetchsourcehut/default.nix
··· 38 38 fetch = fetchzip; 39 39 arguments = baseArgs // { 40 40 url = "${baseUrl}/archive/${rev}.tar.gz"; 41 - extraPostFetch = optionalString (vc == "hg") '' 41 + postFetch = optionalString (vc == "hg") '' 42 42 rm -f "$out/.hg_archival.txt" 43 43 ''; # impure file; see #12002 44 44 };
+7 -1
pkgs/build-support/fetchzip/default.nix
··· 12 12 , url ? "" 13 13 , urls ? [] 14 14 , extraPostFetch ? "" 15 + , postFetch ? "" 15 16 , name ? "source" 16 17 , nativeBuildInputs ? [ ] 17 18 , # Allows to set the extension for the intermediate downloaded ··· 20 21 extension ? null 21 22 , ... } @ args: 22 23 24 + 25 + lib.warnIf (extraPostFetch != "") "use 'postFetch' instead of 'extraPostFetch' with 'fetchzip' and 'fetchFromGitHub'." 23 26 (fetchurl (let 24 27 tmpFilename = 25 28 if extension != null ··· 60 63 mv "$unpackDir" "$out" 61 64 '') 62 65 + '' 66 + ${postFetch} 67 + '' + '' 63 68 ${extraPostFetch} 64 69 '' 70 + 65 71 # Remove non-owner write permissions 66 72 # Fixes https://github.com/NixOS/nixpkgs/issues/38649 67 73 + '' 68 74 chmod 755 "$out" 69 75 ''; 70 - } // removeAttrs args [ "stripRoot" "extraPostFetch" "extension" "nativeBuildInputs" ])) 76 + } // removeAttrs args [ "stripRoot" "extraPostFetch" "postFetch" "extension" "nativeBuildInputs" ]))
+17
pkgs/build-support/fetchzip/tests.nix
··· 1 + { testers, fetchzip, ... }: 2 + 3 + let 4 + url = "https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2/archive/2f430f0c136a69b0886281d0c76708997d8878af.zip"; 5 + in 6 + { 7 + simple = testers.invalidateFetcherByDrvHash fetchzip { 8 + inherit url; 9 + sha256 = "sha256-0ecwgL8qUavSj1+WkaxpmRBmu7cvj53V5eXQV71fddU="; 10 + }; 11 + 12 + postFetch = testers.invalidateFetcherByDrvHash fetchzip { 13 + inherit url; 14 + sha256 = "sha256-7sAOzKa+9vYx5XyndHxeY2ffWAjOsgCkXC9anK6cuV0="; 15 + postFetch = ''touch $out/filee''; 16 + }; 17 + }
+1 -1
pkgs/data/fonts/input-fonts/default.nix
··· 44 44 sha256 = "BESZ4Bjgm2hvQ7oPpMvYSlE8EqvQjqHZtXWIovqyIzA="; 45 45 stripRoot = false; 46 46 47 - extraPostFetch = '' 47 + postFetch = '' 48 48 # Reset the timestamp to release date for determinism. 49 49 PATH=${lib.makeBinPath [ python3.pkgs.fonttools ]}:$PATH 50 50 for ttf_file in $out/Input_Fonts/*/*/*.ttf; do
+1 -1
pkgs/desktops/gnome/extensions/buildGnomeExtension.nix
··· 32 32 # without making a new release. We simply substitute the possibly changed fields 33 33 # with their content from when we last updated, and thus get a deterministic output 34 34 # hash. 35 - extraPostFetch = '' 35 + postFetch = '' 36 36 echo "${metadata}" | base64 --decode > $out/metadata.json 37 37 ''; 38 38 };
+1 -1
pkgs/development/compilers/zasm/default.nix
··· 17 17 repo = "zasm"; 18 18 rev = version; 19 19 sha256 = "sha256-Zbno8kmzss1H2FjwzHB4U7UXxa6oDfsPV80MVVFfM68="; 20 - extraPostFetch = '' 20 + postFetch = '' 21 21 # remove folder containing files with weird names (causes the hash to turn out differently under macOS vs. Linux) 22 22 rm -rv $out/Test 23 23 '';
+1 -1
pkgs/development/libraries/java/swt/default.nix
··· 44 44 "R-${fullVersion}/${pname}-${version}-${metadata.platform}.zip"; 45 45 inherit (metadata) sha256; 46 46 stripRoot = false; 47 - extraPostFetch = '' 47 + postFetch = '' 48 48 mkdir "$unpackDir" 49 49 cd "$unpackDir" 50 50
+1 -1
pkgs/development/libraries/libsass/default.nix
··· 11 11 sha256 = "1cxj6r85d5f3qxdwzxrmkx8z875hig4cr8zsi30w6vj23cyds3l2"; 12 12 # Remove unicode file names which leads to different checksums on HFS+ 13 13 # vs. other filesystems because of unicode normalisation. 14 - extraPostFetch = '' 14 + postFetch = '' 15 15 rm -r $out/test/e2e/unicode-pwd 16 16 ''; 17 17 };
+1 -1
pkgs/development/misc/resholve/oildev.nix
··· 70 70 Note: -f is necessary to keep it from being a pain to update 71 71 hash on rev updates. Command will fail w/o and not print hash. 72 72 */ 73 - extraPostFetch = '' 73 + postFetch = '' 74 74 rm -rf Python-2.7.13 benchmarks metrics py-yajl rfc gold web testdata services demo devtools cpp 75 75 ''; 76 76 };
+1 -1
pkgs/development/python-modules/limits/default.nix
··· 29 29 # Upstream uses versioneer, which relies on git attributes substitution. 30 30 # This leads to non-reproducible archives on github. Remove the substituted 31 31 # file here, and recreate it later based on our version info. 32 - extraPostFetch = '' 32 + postFetch = '' 33 33 rm "$out/limits/_version.py" 34 34 ''; 35 35 hash = "sha256-ja+YbRHCcZ5tFnoofdR44jbkkdDroVUdKeDOt6yE0LI=";
+1 -1
pkgs/development/python-modules/ocrmypdf/default.nix
··· 36 36 # The content of .git_archival.txt is substituted upon tarball creation, 37 37 # which creates indeterminism if master no longer points to the tag. 38 38 # See https://github.com/jbarlow83/OCRmyPDF/issues/841 39 - extraPostFetch = '' 39 + postFetch = '' 40 40 rm "$out/.git_archival.txt" 41 41 ''; 42 42 hash = "sha256-uFKnohUxh17h6u0vwVB7EaTEh5NRowP8a6za63Ehodk=";
+1 -1
pkgs/development/python-modules/pelican/default.nix
··· 38 38 hash = "sha256-ZBGzsyCtFt5uj9mpOpGdTzGJET0iwOAgDTy80P6anRU="; 39 39 # Remove unicode file names which leads to different checksums on HFS+ 40 40 # vs. other filesystems because of unicode normalisation. 41 - extraPostFetch = '' 41 + postFetch = '' 42 42 rm -r $out/pelican/tests/output/custom_locale/posts 43 43 ''; 44 44 };
+1 -1
pkgs/development/python-modules/pikepdf/default.nix
··· 37 37 # The content of .git_archival.txt is substituted upon tarball creation, 38 38 # which creates indeterminism if master no longer points to the tag. 39 39 # See https://github.com/jbarlow83/OCRmyPDF/issues/841 40 - extraPostFetch = '' 40 + postFetch = '' 41 41 rm "$out/.git_archival.txt" 42 42 ''; 43 43 hash = "sha256-jkAwc1bQ1jRDf/qY+xAjiLXXO98qKjyX+J7Lu4tYWoI=";
+1 -1
pkgs/development/python-modules/pygame/default.nix
··· 15 15 # filesystems because of unicode normalisation. The documentation 16 16 # has such files and will be removed. 17 17 sha256 = "sha256-v1z6caEMJNXqbcbTmFXoy3KQewHiz6qK4vhNU6Qbukk="; 18 - extraPostFetch = "rm -rf $out/docs/reST"; 18 + postFetch = "rm -rf $out/docs/reST"; 19 19 }; 20 20 21 21 patches = [
+1 -1
pkgs/development/python-modules/sphinx/default.nix
··· 40 40 repo = pname; 41 41 rev = "v${version}"; 42 42 sha256 = "sha256-Lw9yZWCQpt02SL/McWPcyFRfVhQHC0TejcYRbVw+VxY="; 43 - extraPostFetch = '' 43 + postFetch = '' 44 44 cd $out 45 45 mv tests/roots/test-images/testimäge.png \ 46 46 tests/roots/test-images/testimæge.png
+1 -1
pkgs/development/python-modules/wheel/default.nix
··· 16 16 rev = version; 17 17 sha256 = "sha256-JlTmUPY3yo/uROyd3nW1dJa23zbLhgQTwcmqZkPOrHs="; 18 18 name = "${pname}-${version}-source"; 19 - extraPostFetch = '' 19 + postFetch = '' 20 20 cd $out 21 21 mv tests/testdata/unicode.dist/unicodedist/åäö_日本語.py \ 22 22 tests/testdata/unicode.dist/unicodedist/æɐø_日本價.py
+1 -1
pkgs/development/tools/analysis/retdec/default.nix
··· 101 101 else "0ixv9qyqq40pzyqy6v9jf5rxrvivjb0z0zn260nbmb9gk765bacy"; 102 102 stripRoot = false; 103 103 # Removing PE signatures reduces this from 3.8GB -> 642MB (uncompressed) 104 - extraPostFetch = lib.optionalString (!withPEPatterns) '' 104 + postFetch = lib.optionalString (!withPEPatterns) '' 105 105 rm -r "$out/generic/yara_patterns/static-code/pe" 106 106 ''; 107 107 } // {
+1 -1
pkgs/games/openra/default.nix
··· 43 43 callWithName = name: value: if isFunction value then value name else value; 44 44 buildOpenRASet = f: args: pkgs.recurseIntoAttrs (mapAttrs callWithName (f ({ 45 45 inherit (pkgs) fetchFromGitHub; 46 - extraPostFetch = '' 46 + postFetch = '' 47 47 sed -i 's/curl/curl --insecure/g' $out/thirdparty/{fetch-thirdparty-deps,noget}.sh 48 48 $out/thirdparty/fetch-thirdparty-deps.sh 49 49 '';
+2 -2
pkgs/games/openra/engines.nix
··· 1 - { buildOpenRAEngine, fetchFromGitHub, extraPostFetch }: 1 + { buildOpenRAEngine, fetchFromGitHub, postFetch }: 2 2 3 3 let 4 4 buildUpstreamOpenRAEngine = { version, rev, sha256 }: name: (buildOpenRAEngine { ··· 9 9 src = fetchFromGitHub { 10 10 owner = "OpenRA"; 11 11 repo = "OpenRA" ; 12 - inherit rev sha256 extraPostFetch; 12 + inherit rev sha256 postFetch; 13 13 }; 14 14 } name).overrideAttrs (origAttrs: { 15 15 postInstall = ''
+14 -14
pkgs/games/openra/mods.nix
··· 1 - { buildOpenRAMod, fetchFromGitHub, extraPostFetch }: 1 + { buildOpenRAMod, fetchFromGitHub, postFetch }: 2 2 3 3 let 4 4 unsafeBuildOpenRAMod = attrs: name: (buildOpenRAMod attrs name).overrideAttrs (_: { ··· 25 25 rev = "b8a7dd52ff893ed8225726d4ed4e14ecad748404"; 26 26 sha256 = "0dyk861qagibx8ldshz7d2nrki9q550f6f0wy8pvayvf1gv1dbxj"; 27 27 name = "engine"; 28 - inherit extraPostFetch; 28 + inherit postFetch; 29 29 }; 30 30 }; 31 31 }; ··· 50 50 rev = version; 51 51 sha256 = "0p0izykjnz7pz02g2khp7msqa00jhjsrzk9y0g29dirmdv75qa4r"; 52 52 name = "engine"; 53 - inherit extraPostFetch; 53 + inherit postFetch; 54 54 }; 55 55 }; 56 56 assetsError = '' ··· 78 78 rev = "f91d3f2603bbf51afaa89357e4defcdc36138102"; 79 79 sha256 = "05g900ri6q0zrkrk8rmjaz576vjggmi2y6jm0xz3cwli54prn11w"; 80 80 name = "engine"; 81 - inherit extraPostFetch; 81 + inherit postFetch; 82 82 }; 83 83 }; 84 84 }; ··· 102 102 rev = version; 103 103 sha256 = "1x6byz37s8qcpqj902zvkvbv95rv2mv2kj35c12gbpyc92xkqkq0"; 104 104 name = "generals-alpha-engine"; 105 - inherit extraPostFetch; 105 + inherit postFetch; 106 106 }; 107 107 }; 108 108 }; ··· 127 127 rev = "4e8eab4ca00d1910203c8a103dfd2c002714daa8"; 128 128 sha256 = "1yyqparf93x8yzy1f46gsymgkj5jls25v2yc7ighr3f7mi3igdvq"; 129 129 name = "engine"; 130 - inherit extraPostFetch; 130 + inherit postFetch; 131 131 }; 132 132 }; 133 133 } name).overrideAttrs (origAttrs: { ··· 156 156 rev = "52109c0910f479753704c46fb19e8afaab353c83"; 157 157 sha256 = "0ga3855j6bc7h81q03cw6laiaiz12915zg8aqah1idvxbzicfy7l"; 158 158 name = "engine"; 159 - inherit extraPostFetch; 159 + inherit postFetch; 160 160 }; 161 161 }; 162 162 }; ··· 180 180 rev = version; 181 181 sha256 = "1pgi3zaq9fwwdq6yh19bwxscslqgabjxkvl9bcn1a5agy4bfbqk5"; 182 182 name = "engine"; 183 - inherit extraPostFetch; 183 + inherit postFetch; 184 184 }; 185 185 }; 186 186 assetsError = '' ··· 208 208 rev = version; 209 209 sha256 = "15pvn5cx3g0nzbrgpsfz8dngad5wkzp5dz25ydzn8bmxafiijvcr"; 210 210 name = "engine"; 211 - inherit extraPostFetch; 211 + inherit postFetch; 212 212 }; 213 213 }; 214 214 }; ··· 233 233 rev = "f3873ae242803051285994d77eb26f4b951594b5"; 234 234 sha256 = "02rv29wja0p5d083pd087daz7x7pp5b9ym7sci2fhg3mrnaqgwkp"; 235 235 name = "engine"; 236 - inherit extraPostFetch; 236 + inherit postFetch; 237 237 }; 238 238 }; 239 239 assetsError = '' ··· 262 262 rev = "bb0930008a57c07f3002421023f6b446e3e3af69"; 263 263 sha256 = "1jvgpbf56hd02ikhklv49br4d1jiv5hphc5kl79qnjlaacnj222x"; 264 264 name = "engine"; 265 - inherit extraPostFetch; 265 + inherit postFetch; 266 266 }; 267 267 }; 268 268 }; ··· 286 286 rev = "6de92de8d982094a766eab97a92225c240d85493"; 287 287 sha256 = "0ps9x379plrrj1hnj4fpr26lc46mzgxknv5imxi0bmrh5y4781ql"; 288 288 name = "engine"; 289 - inherit extraPostFetch; 289 + inherit postFetch; 290 290 }; 291 291 }; 292 292 }; ··· 310 310 rev = version; 311 311 sha256 = "1p5hgxxvxlz8480vj0qkmnxjh7zj3hahk312m0zljxfdb40652w1"; 312 312 name = "engine"; 313 - inherit extraPostFetch; 313 + inherit postFetch; 314 314 }; 315 315 }; 316 316 }; ··· 334 334 rev = version; 335 335 sha256 = "15pvn5cx3g0nzbrgpsfz8dngad5wkzp5dz25ydzn8bmxafiijvcr"; 336 336 name = "engine"; 337 - inherit extraPostFetch; 337 + inherit postFetch; 338 338 }; 339 339 }; 340 340 assetsError = ''
+1 -1
pkgs/games/openra/packages.nix
··· 32 32 */ 33 33 buildOpenRASet = f: args: builtins.mapAttrs (name: value: if builtins.isFunction value then value name else value) (f ({ 34 34 inherit (pkgs) fetchFromGitHub; 35 - extraPostFetch = '' 35 + postFetch = '' 36 36 sed -i 's/curl/curl --insecure/g' $out/thirdparty/{fetch-thirdparty-deps,noget}.sh 37 37 $out/thirdparty/fetch-thirdparty-deps.sh 38 38 '';
+1 -1
pkgs/games/xonotic/default.nix
··· 147 147 name = "xonotic-data"; 148 148 url = "https://dl.xonotic.org/xonotic-${version}.zip"; 149 149 sha256 = "15caj11v9hhr7w55w3rs1rspblzr9lg1crqivbn9pyyq0rif8cpl"; 150 - extraPostFetch = '' 150 + postFetch = '' 151 151 cd $out 152 152 rm -rf $(ls | grep -v "^data$" | grep -v "^key_0.d0pk$") 153 153 '';
+1 -1
pkgs/servers/dns/ncdns/default.nix
··· 22 22 rev = "fb9f2b7bc9fcba954d70f63857cc0c3841b1cf47"; 23 23 sha256 = "1arkbpbzvhcmz5fhjqg34x2jbjnwmlisapk22rjki17qpamh7zks"; 24 24 # ncdns must be put in a subdirectory for this to work. 25 - extraPostFetch = '' 25 + postFetch = '' 26 26 cp -r --no-preserve=mode "${ncdns}" "$out/ncdns" 27 27 ''; 28 28 };
+1 -1
pkgs/servers/http/envoy/default.nix
··· 37 37 inherit (srcVer) rev; 38 38 hash = "sha256:11mm72zmb479ss585jzqzhklyyqmdadnvr91ghzvjxc0j2a1hrr4"; 39 39 40 - extraPostFetch = '' 40 + postFetch = '' 41 41 chmod -R +w $out 42 42 rm $out/.bazelversion 43 43 echo ${srcVer.rev} > $out/SOURCE_VERSION
+1
pkgs/test/default.nix
··· 28 28 cc-multilib-clang = callPackage ./cc-wrapper/multilib.nix { stdenv = clangMultiStdenv; }; 29 29 30 30 fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { }; 31 + fetchzip = callPackages ../build-support/fetchzip/tests.nix { }; 31 32 fetchgit = callPackages ../build-support/fetchgit/tests.nix { }; 32 33 fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { }; 33 34
+1 -1
pkgs/tools/archivers/p7zip/default.nix
··· 16 16 # > the license requires that you agree to these use restrictions, 17 17 # > or you must remove the software (source and binary) from your hard disks 18 18 # https://fedoraproject.org/wiki/Licensing:Unrar 19 - extraPostFetch = lib.optionalString (!enableUnfree) '' 19 + postFetch = lib.optionalString (!enableUnfree) '' 20 20 rm -r $out/CPP/7zip/Compress/Rar* 21 21 find $out -name makefile'*' -exec sed -i '/Rar/d' {} + 22 22 '';
+1 -1
pkgs/tools/graphics/vips/default.nix
··· 49 49 sha256 = "sha256-ffDJJWe/SzG+lppXEiyfXXL5KLdZgnMjv1SYnuYnh4c="; 50 50 # Remove unicode file names which leads to different checksums on HFS+ 51 51 # vs. other filesystems because of unicode normalisation. 52 - extraPostFetch = '' 52 + postFetch = '' 53 53 rm -r $out/test/test-suite/images/ 54 54 ''; 55 55 };
+1 -1
pkgs/tools/misc/dua/default.nix
··· 13 13 sha256 = "sha256-dpkUbZz/bIiTMhZalXHGct77qMzYB6LATs7MPVyW1GY="; 14 14 # Remove unicode file names which leads to different checksums on HFS+ 15 15 # vs. other filesystems because of unicode normalisation. 16 - extraPostFetch = '' 16 + postFetch = '' 17 17 rm -r $out/tests/fixtures 18 18 ''; 19 19 };
+1 -1
pkgs/tools/misc/dust/default.nix
··· 11 11 sha256 = "sha256-qC8AlLyg8MU9ZON0hITTaM5AmRFZMOqJVt7PJ5fCtus="; 12 12 # Remove unicode file names which leads to different checksums on HFS+ 13 13 # vs. other filesystems because of unicode normalisation. 14 - extraPostFetch = '' 14 + postFetch = '' 15 15 rm -r $out/tests/test_dir_unicode/ 16 16 ''; 17 17 };
+1 -1
pkgs/tools/misc/dutree/default.nix
··· 11 11 sha256 = "17lm8jd07bi499mywg2iq669im34j4x4yhc8a3adxn12f8j0dfg7"; 12 12 # test directory has files with unicode names which causes hash mismatches 13 13 # It is also not used by any tests or parts of build process 14 - extraPostFetch = '' 14 + postFetch = '' 15 15 rm -r $out/test 16 16 ''; 17 17 };
+1 -1
pkgs/tools/misc/jdupes/default.nix
··· 12 12 # Unicode file names lead to different checksums on HFS+ vs. other 13 13 # filesystems because of unicode normalisation. The testdir 14 14 # directories have such files and will be removed. 15 - extraPostFetch = "rm -r $out/testdir"; 15 + postFetch = "rm -r $out/testdir"; 16 16 }; 17 17 18 18 dontConfigure = true;
+1 -1
pkgs/tools/misc/mutagen/default.nix
··· 18 18 # The package architecture does not matter since all packages contain identical mutagen-agents.tar.gz. 19 19 url = "https://github.com/mutagen-io/mutagen/releases/download/v${version}/mutagen_linux_amd64_v${version}.tar.gz"; 20 20 stripRoot = false; 21 - extraPostFetch = '' 21 + postFetch = '' 22 22 rm $out/mutagen # Keep only mutagen-agents.tar.gz. 23 23 ''; 24 24 sha256 = "sha256-AlAo55/ewTE04WfS0beVonGA97AmpR1pAw/QxKAYjv8=";
+1 -1
pkgs/tools/package-management/nix-prefetch/default.nix
··· 12 12 rev = version; 13 13 sha256 = "0bwv6x651gyq703pywrhb7lfby6xwnd1iwnrzzjihipn7x3v2hz9"; 14 14 # the stat call has to be in a subshell or we get the current date 15 - extraPostFetch = '' 15 + postFetch = '' 16 16 echo $(stat -c %Y $out) > $out/.timestamp 17 17 ''; 18 18 };
+4 -1
pkgs/top-level/all-packages.nix
··· 723 723 inherit curl stdenv; 724 724 }; 725 725 726 - fetchzip = callPackage ../build-support/fetchzip { }; 726 + fetchzip = callPackage ../build-support/fetchzip { } 727 + // { 728 + tests = pkgs.tests.fetchzip; 729 + }; 727 730 728 731 fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { }; 729 732