git.iko.soy/typeable/nixpkgs
on master help sign in
fetchurl: add passthru

so that we could add e.g. the `version` attribute.

commitef21b240c84ae4a1c3dd3c7060006d766c2140bc authorFrederik Rietdijk <fridh@fridh.nl> dateSun 5 Nov 2017, 10:12 (9 years ago) parent37d5539
1 file changed+4
pkgs/build-support/fetchurl/default.nix+4
pkgs/build-support/fetchurl/default.nix+4
@@ -84,6 +84,9 @@ in
8484
8585, # Meta information, if any.
8686 meta ? {}
87+
88+ # Passthru information, if any.
89+, passthru ? {}
8790}:
8891
8992assert builtins.isList urls;
@@ -139,4 +142,5 @@ else stdenv.mkDerivation {
139142 '';
140143
141144 inherit meta;
145+ inherit passthru;
142146}