depot/pkgs/by-name/ni/nix-update/nix-update-script.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
164 B
Nix
Raw Normal View History

{
lib,
nix-update,
}:
{
attrPath ? null,
extraArgs ? [ ],
}:
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optionals (attrPath != null) [ attrPath ]