fetchurl: add passthru
so that we could add e.g. the `version` attribute.
This commit is contained in:
parent
37d5539aeb
commit
ef21b240c8
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue