Merge pull request #80629 from grahamc/alacritty-xdg-open-again

alacritty: Correct xdg-open behavior
This commit is contained in:
Graham Christensen 2020-02-20 08:41:14 -05:00 committed by GitHub
commit f3f836bdc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";