forked from mirrors/nixpkgs
nix-update-script: add extraArgs to pass custom arguments to nix-update
This commit is contained in:
parent
457b8403c1
commit
f5d62d419e
|
@ -1,5 +1,7 @@
|
|||
{ nix-update }:
|
||||
|
||||
{ attrPath }:
|
||||
{ attrPath
|
||||
, extraArgs ? []
|
||||
}:
|
||||
|
||||
[ "${nix-update}/bin/nix-update" attrPath ]
|
||||
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ [ attrPath ]
|
||||
|
|
Loading…
Reference in a new issue