diff options
author | schnusch <schnusch@users.noreply.github.com> | 2022-11-23 23:21:27 +0100 |
---|---|---|
committer | schnusch <schnusch@users.noreply.github.com> | 2022-11-28 00:29:19 +0100 |
commit | f5d62d419e86249c9910f43d6d6c4e9c156d3ac3 (patch) | |
tree | 8bdd9f3bc6b0b76f487cb187d479a940c13927ea | |
parent | 457b8403c159be5573de479c75e22b21e21b7daa (diff) | |
download | nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar.gz nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar.bz2 nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar.lz nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar.xz nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.tar.zst nixpkgs-f5d62d419e86249c9910f43d6d6c4e9c156d3ac3.zip |
nix-update-script: add extraArgs to pass custom arguments to nix-update
-rw-r--r-- | pkgs/common-updater/nix-update.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/common-updater/nix-update.nix b/pkgs/common-updater/nix-update.nix index 13b85bf52ff..bb547302b79 100644 --- a/pkgs/common-updater/nix-update.nix +++ b/pkgs/common-updater/nix-update.nix @@ -1,5 +1,7 @@ { nix-update }: -{ attrPath }: +{ attrPath +, extraArgs ? [] +}: -[ "${nix-update}/bin/nix-update" attrPath ] +[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ [ attrPath ] |