mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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 }:
|
||||
|
||||
{ attrPath }:
|
||||
{ attrPath
|
||||
, extraArgs ? []
|
||||
}:
|
||||
|
||||
[ "${nix-update}/bin/nix-update" attrPath ]
|
||||
[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ [ attrPath ]
|
||||
|
Loading…
Reference in New Issue
Block a user