summary refs log tree commit diff
path: root/pkgs/common-updater
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/common-updater')
-rw-r--r--pkgs/common-updater/nix-update.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/common-updater/nix-update.nix b/pkgs/common-updater/nix-update.nix
index 269e1b6e645..342b1677c6d 100644
--- a/pkgs/common-updater/nix-update.nix
+++ b/pkgs/common-updater/nix-update.nix
@@ -4,4 +4,4 @@
 , extraArgs ? [ ]
 }:
 
-[ "${nix-update}/bin/nix-update" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath
+[ "${lib.getExe nix-update}" ] ++ extraArgs ++ lib.optional (attrPath != null) attrPath