nixpkgs/pkgs/by-name/ni/nix-update/nix-update-script.nix
2024-09-17 16:49:04 -03:00

12 lines
164 B
Nix

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