From b4176d50cf4da02acd5dc4482c52638cdd5bf873 Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Mon, 31 Jan 2022 12:57:36 +0000 Subject: [PATCH] {element-desktop,schildichat}-wayland: use writeScriptBin instead of writeScript This resolves issues with buildEnv (and probably other tools too), putting the resulting files into $out/bin. Fixes #157507. We also change the script names back to the ones without the -wayland suffix, since the old `useWayland` feature flag didn't add it either, which may have broken downstream configs. --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74dd9628c366..0d830628a6db 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2969,7 +2969,7 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices; electron = electron_13; }; - element-desktop-wayland = writeScript "element-desktop-wayland" '' + element-desktop-wayland = writeScriptBin "element-desktop" '' #!/bin/sh NIXOS_OZONE_WL=1 exec ${element-desktop}/bin/element-desktop "$@" ''; @@ -4976,7 +4976,7 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices; electron = electron_13; }; - schildichat-desktop-wayland = writeScript "schildichat-desktop-wayland" '' + schildichat-desktop-wayland = writeScriptBin "schildichat-desktop" '' #!/bin/sh NIXOS_OZONE_WL=1 exec ${schildichat-desktop}/bin/schildichat-desktop "$@" '';