From a905deb826ecece24a738f8ad30cfb0ec71ca7bc Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 20 Feb 2020 08:12:47 -0500 Subject: alacritty: Correct xdg-open behavior --- pkgs/applications/misc/alacritty/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/applications') diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix index a4d777151992..78e7249a0873 100644 --- a/pkgs/applications/misc/alacritty/default.nix +++ b/pkgs/applications/misc/alacritty/default.nix @@ -78,6 +78,10 @@ in buildRustPackage rec { ++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ]; outputs = [ "out" "terminfo" ]; + postPatch = '' + substituteInPlace alacritty/src/config/mouse.rs \ + --replace xdg-open ${xdg_utils}/bin/xdg-open + ''; postBuild = lib.optionalString stdenv.isDarwin "make app"; -- cgit 1.4.1