summary refs log blame commit diff
path: root/pkgs/common-updater/nix-update.nix
blob: 269e1b6e64553a4037d5c5b32e2d0b8705cc45e7 (plain) (tree)
1
2
3
4
5
6
7
                    
 

                 
  
 
                                                                                           
{ lib, nix-update }:

{ attrPath ? null
, extraArgs ? [ ]
}:

[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath