mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
7 lines
150 B
Nix
7 lines
150 B
Nix
{ lib, nix-update }:
|
|
|
|
{ attrPath ? null
|
|
, extraArgs ? [ ]
|
|
}:
|
|
|
|
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
|