alacritty: Correct xdg-open behavior
commita905deb826ecece24a738f8ad30cfb0ec71ca7bc
authorGraham Christensen <graham@grahamc.com>
dateThu 20 Feb 2020, 08:12 (7 years ago)
parentb43ec41
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