summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-08-26 16:49:10 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-08-26 16:49:10 +0200
commit8ff90c392ce008708b494867b26c2922731925b5 (patch)
treed90ad7ee03bef0c1a34d01a0162eabbedcb81802
parent1fc2520df1b3ff516f2eaefaba5a289804653c05 (diff)
downloadnixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar.gz
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar.bz2
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar.lz
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar.xz
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.tar.zst
nixpkgs-8ff90c392ce008708b494867b26c2922731925b5.zip
wezterm: load shell integration automatically
which follows the upstream RPM packaging https://github.com/wez/wezterm/blob/main/ci/deploy.sh#L83-L121
-rw-r--r--pkgs/applications/terminal-emulators/wezterm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/terminal-emulators/wezterm/default.nix b/pkgs/applications/terminal-emulators/wezterm/default.nix
index e67e28662fd..19e3a1c37e1 100644
--- a/pkgs/applications/terminal-emulators/wezterm/default.nix
+++ b/pkgs/applications/terminal-emulators/wezterm/default.nix
@@ -82,7 +82,7 @@ rustPlatform.buildRustPackage rec {
     install -Dm644 assets/wezterm.appdata.xml $out/share/metainfo/org.wezfurlong.wezterm.appdata.xml
 
     # helper scripts
-    install -Dm644 assets/shell-integration/wezterm.sh $out/share/wezterm/shell-integration/wezterm.sh
+    install -Dm644 assets/shell-integration/wezterm.sh -t $out/etc/profile.d
   '';
 
   preFixup = lib.optionalString stdenv.isLinux ''