mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
8 lines
150 B
Nix
8 lines
150 B
Nix
{ lib, nix-update }:
|
|
|
|
{ attrPath ? null
|
|
, extraArgs ? [ ]
|
|
}:
|
|
|
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|