Merge pull request #68948 from grahamc/alacritty-xdg-open

alacritty: fix path to xdg-open
This commit is contained in:
Maximilian Bosch 2019-09-17 10:37:57 +02:00 committed by GitHub
commit 8ba3a555e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@
libxcb,
libxkbcommon,
wayland,
xdg_utils,
# Darwin Frameworks
AppKit,
@ -75,6 +76,10 @@ in buildRustPackage rec {
++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
outputs = [ "out" "terminfo" ];
postPatch = ''
substituteInPlace alacritty_terminal/src/config/mouse.rs \
--replace xdg-open ${xdg_utils}/bin/xdg-open
'';
postBuild = lib.optionalString stdenv.isDarwin "make app";