159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
11 lines
164 B
Nix
11 lines
164 B
Nix
{
|
|
lib,
|
|
nix-update,
|
|
}:
|
|
|
|
{
|
|
attrPath ? null,
|
|
extraArgs ? [ ],
|
|
}:
|
|
|
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optionals (attrPath != null) [ attrPath ]
|