1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/common-updater/nix-update.nix
2023-11-16 21:42:13 +01:00

8 lines
150 B
Nix

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