about summary refs log tree commit diff
path: root/pkgs/common-updater
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-11-16 21:42:13 +0100
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2023-11-16 21:42:13 +0100
commitdc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8 (patch)
tree0ffebd4722432d5f505a4a3d57fd61dfa02cac3a /pkgs/common-updater
parent54da2986be07ad2ffbade0b3cefaf7f0c2553c88 (diff)
nix-update: set `meta.mainProgram`
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 269e1b6e64553..342b1677c6de8 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