nix-update-script: nixfmt-rfc-style

This commit is contained in:
Anderson Torres 2024-09-16 18:01:30 -03:00
parent f19ef08998
commit ca641eb04b

View File

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