mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nix-update-script: nixfmt-rfc-style
This commit is contained in:
parent
f19ef08998
commit
ca641eb04b
1 changed files with 9 additions and 5 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue