mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
12 lines
164 B
Nix
12 lines
164 B
Nix
{
|
|
lib,
|
|
nix-update,
|
|
}:
|
|
|
|
{
|
|
attrPath ? null,
|
|
extraArgs ? [ ],
|
|
}:
|
|
|
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optionals (attrPath != null) [ attrPath ]
|