git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #80629 from grahamc/alacritty-xdg-open-again

alacritty: Correct xdg-open behavior

commitf3f836bdc281e61e9b704a2494e20851a6c062b9 authorGraham Christensen <graham@grahamc.com> dateThu 20 Feb 2020, 08:41 (7 years ago) parent803d4e1a905deb
1 file changed+4
pkgs/applications/misc/alacritty/default.nix+4
pkgs/applications/misc/alacritty/default.nix+4
@@ -78,6 +78,10 @@ in buildRustPackage rec {
7878 ++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
7979
8080 outputs = [ "out" "terminfo" ];
81+ postPatch = ''
82+ substituteInPlace alacritty/src/config/mouse.rs \
83+ --replace xdg-open ${xdg_utils}/bin/xdg-open
84+ '';
8185
8286 postBuild = lib.optionalString stdenv.isDarwin "make app";
8387