Files
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 Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
nix-update,
}:
{
attrPath ? null,
extraArgs ? [ ],
}:
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optionals (attrPath != null) [ attrPath ]