diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-16 21:42:13 +0100 |
---|---|---|
committer | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-16 21:42:13 +0100 |
commit | dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8 (patch) | |
tree | 0ffebd4722432d5f505a4a3d57fd61dfa02cac3a /pkgs/common-updater | |
parent | 54da2986be07ad2ffbade0b3cefaf7f0c2553c88 (diff) | |
download | nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar.gz nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar.bz2 nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar.lz nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar.xz nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.tar.zst nixlib-dc2ce0af94b9d5bc58fcfe4b01c446f5e92c8de8.zip |
nix-update: set `meta.mainProgram`
Diffstat (limited to 'pkgs/common-updater')
-rw-r--r-- | pkgs/common-updater/nix-update.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/common-updater/nix-update.nix b/pkgs/common-updater/nix-update.nix index 269e1b6e6455..342b1677c6de 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 |