Loading pkgs/by-name/wa/warp-terminal/package.nix +8 −2 Original line number Diff line number Diff line Loading @@ -10,9 +10,12 @@ , libglvnd , libxkbcommon , vulkan-loader , wayland , xdg-utils , xorg , zlib , makeWrapper , waylandSupport ? false }: let Loading @@ -35,7 +38,7 @@ linux = stdenv.mkDerivation (finalAttrs: { --replace-fail /opt/ $out/opt/ ''; nativeBuildInputs = [ autoPatchelfHook zstd ]; nativeBuildInputs = [ autoPatchelfHook zstd makeWrapper ]; buildInputs = [ curl Loading @@ -54,7 +57,7 @@ linux = stdenv.mkDerivation (finalAttrs: { xorg.libxcb xorg.libXcursor xorg.libXi ]; ] ++ lib.optionals waylandSupport [wayland]; installPhase = '' runHook preInstall Loading @@ -62,6 +65,9 @@ linux = stdenv.mkDerivation (finalAttrs: { mkdir $out cp -r opt usr/* $out '' ++ lib.optionalString waylandSupport '' wrapProgram $out/bin/warp-terminal --set WARP_ENABLE_WAYLAND 1 '' ++ '' runHook postInstall ''; }); Loading Loading
pkgs/by-name/wa/warp-terminal/package.nix +8 −2 Original line number Diff line number Diff line Loading @@ -10,9 +10,12 @@ , libglvnd , libxkbcommon , vulkan-loader , wayland , xdg-utils , xorg , zlib , makeWrapper , waylandSupport ? false }: let Loading @@ -35,7 +38,7 @@ linux = stdenv.mkDerivation (finalAttrs: { --replace-fail /opt/ $out/opt/ ''; nativeBuildInputs = [ autoPatchelfHook zstd ]; nativeBuildInputs = [ autoPatchelfHook zstd makeWrapper ]; buildInputs = [ curl Loading @@ -54,7 +57,7 @@ linux = stdenv.mkDerivation (finalAttrs: { xorg.libxcb xorg.libXcursor xorg.libXi ]; ] ++ lib.optionals waylandSupport [wayland]; installPhase = '' runHook preInstall Loading @@ -62,6 +65,9 @@ linux = stdenv.mkDerivation (finalAttrs: { mkdir $out cp -r opt usr/* $out '' ++ lib.optionalString waylandSupport '' wrapProgram $out/bin/warp-terminal --set WARP_ENABLE_WAYLAND 1 '' ++ '' runHook postInstall ''; }); Loading