From 068806f7ab60c57a837dd8a479d8420ce890da52 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Wed, 28 May 2025 00:15:02 +0700 Subject: [PATCH] contour: remove shell integration scripts These scripts can be generated using `contour generate integration` command, and they are not shell completion. --- pkgs/by-name/co/contour/package.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/by-name/co/contour/package.nix b/pkgs/by-name/co/contour/package.nix index d26ce03f12da..5346ab80d3ff 100644 --- a/pkgs/by-name/co/contour/package.nix +++ b/pkgs/by-name/co/contour/package.nix @@ -85,19 +85,16 @@ stdenv.mkDerivation (finalAttrs: { '' + lib.optionalString stdenv.hostPlatform.isDarwin '' mkdir $out/Applications - installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh - installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share mv $out/contour.app $out/Applications ln -s $out/bin $out/Applications/contour.app/Contents/MacOS '' + lib.optionalString stdenv.hostPlatform.isLinux '' mv $out/share/terminfo $terminfo/share/ - installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh - installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish '' + '' echo "$terminfo" >> $out/nix-support/propagated-user-env-packages + rm -r $out/share/contour ''; passthru.tests.test = nixosTests.terminal-emulators.contour;