git.iko.soy/typeable/nixpkgs
on master help sign in
tarball: fix the job

Find-tarballs was failing on some `requireFile` that was fixed-output but didn't specify `outputHashMode`. Apparently, nix is fine with that and uses the "flat" default, although that's undocumented.

commite053971d81498526d0cdfdfdc0f03fc6d6050142 authorVladimír Čunát <vcunat@gmail.com> dateThu 25 Feb 2016, 08:29 (11 years ago) parent06ee2eb
1 file changed+2−1
maintainers/scripts/find-tarballs.nix+2−1
maintainers/scripts/find-tarballs.nix+2−1
@@ -18,7 +18,8 @@ let
1818
1919 fetchurlDependencies =
2020 filter
21− (drv: drv.outputHash or "" != "" && drv.outputHashMode == "flat" && drv.postFetch or "" == "" && drv ? urls)
21+ (drv: drv.outputHash or "" != "" && drv.outputHashMode or "flat" == "flat"
22+ && drv.postFetch or "" == "" && drv ? urls)
2223 dependencies;
2324
2425 dependencies = map (x: x.value) (genericClosure {