nixpkgs/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

2024-09-16 18:01:30 -03:00
{
lib,
nix-update,
}:
2024-09-16 18:01:30 -03:00
{
attrPath ? null,
extraArgs ? [ ],
}:
2024-09-16 18:01:30 -03:00
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optionals (attrPath != null) [ attrPath ]