Merge pull request #68948 from grahamc/alacritty-xdg-open
alacritty: fix path to xdg-open
This commit is contained in:
commit
8ba3a555e6
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue