Skip to content

Commit

Permalink
nix-update-script: nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonTorres committed Sep 17, 2024
1 parent f19ef08 commit ca641eb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/by-name/ni/nix-update/nix-update-script.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{ lib, nix-update }:
{
lib,
nix-update,
}:

{ attrPath ? null
, extraArgs ? [ ]
{
attrPath ? null,
extraArgs ? [ ],
}:

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

0 comments on commit ca641eb

Please sign in to comment.