summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-09-17 10:37:57 +0200
committerGitHub <noreply@github.com>2019-09-17 10:37:57 +0200
commit8ba3a555e64c581dd074938ab35144b868126a28 (patch)
tree63728cb5ec2061b52f58b7ef885c2b1fe3d1f351 /pkgs
parentc45bf10e9f314ffd3ddf089761f2ec905b288878 (diff)
parent21dd0207b2f38fbc28f3eada71ce2eb31e5be56f (diff)
Merge pull request #68948 from grahamc/alacritty-xdg-open
alacritty: fix path to xdg-open
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/alacritty/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix
index dddf8d93412d..24f788ef4687 100644
--- a/pkgs/applications/misc/alacritty/default.nix
+++ b/pkgs/applications/misc/alacritty/default.nix
@@ -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";