fetchurl: add passthru

so that we could add e.g. the `version` attribute.
This commit is contained in:
Frederik Rietdijk 2017-11-05 10:12:19 +01:00
parent 37d5539aeb
commit ef21b240c8

View file

@ -84,6 +84,9 @@ in
, # Meta information, if any.
meta ? {}
# Passthru information, if any.
, passthru ? {}
}:
assert builtins.isList urls;
@ -139,4 +142,5 @@ else stdenv.mkDerivation {
'';
inherit meta;
inherit passthru;
}