core/pkgs/common-updater/nix-update.nix

9 lines
154 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ lib, nix-update }:
2024-06-30 08:12:46 +00:00
{
attrPath ? null,
extraArgs ? [ ],
2024-05-02 00:46:19 +00:00
}:
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath