2022-12-25 16:31:33 +00:00
|
|
|
{ lib, nix-update }:
|
2020-07-29 16:33:39 +00:00
|
|
|
|
2022-12-25 16:31:33 +00:00
|
|
|
{ attrPath ? null
|
|
|
|
, extraArgs ? [ ]
|
2022-11-23 22:21:27 +00:00
|
|
|
}:
|
2020-07-29 16:33:39 +00:00
|
|
|
|
2023-11-16 20:42:13 +00:00
|
|
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|