alacritty: fix path to xdg-open
This commit is contained in:
parent
7bbce4af57
commit
21dd0207b2
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user