9 lines
154 B
Nix
9 lines
154 B
Nix
|
{ lib, nix-update }:
|
||
|
|
||
|
{
|
||
|
attrPath ? null,
|
||
|
extraArgs ? [ ],
|
||
|
}:
|
||
|
|
||
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|