mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
fetchurl: add passthru
so that we could add e.g. the `version` attribute.
This commit is contained in:
parent
37d5539aeb
commit
ef21b240c8
@ -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 New Issue
Block a user