nixpkgs/pkgs/common-updater/nix-update.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
150 B
Nix
Raw Normal View History

{ lib, nix-update }:
{ attrPath ? null
, extraArgs ? [ ]
}:
2023-11-16 20:42:13 +00:00
[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath