mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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 }:
|
{ nix-update }:
|
||||||
|
|
||||||
{ attrPath }:
|
{ attrPath
|
||||||
|
, extraArgs ? []
|
||||||
|
}:
|
||||||
|
|
||||||
[ "${nix-update}/bin/nix-update" attrPath ]
|
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ [ attrPath ]
|
||||||
|
Loading…
Reference in New Issue
Block a user