about summary refs log tree commit diff
path: root/nixpkgs/pkgs/common-updater/nix-update.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/common-updater/nix-update.nix')
-rw-r--r--nixpkgs/pkgs/common-updater/nix-update.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/common-updater/nix-update.nix b/nixpkgs/pkgs/common-updater/nix-update.nix
index 269e1b6e6455..342b1677c6de 100644
--- a/nixpkgs/pkgs/common-updater/nix-update.nix
+++ b/nixpkgs/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