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