Merge pull request #288471 from K900/alacritty-darwin

alacritty: only depend on xdg-utils on Linux
This commit is contained in:
K900
2024-02-14 15:16:07 +03:00
committed by GitHub
@@ -83,7 +83,7 @@ rustPlatform.buildRustPackage rec {
outputs = [ "out" "terminfo" ];
postPatch = lib.optionalString (!xdg-utils.meta.broken) ''
postPatch = lib.optionalString stdenv.isLinux ''
substituteInPlace alacritty/src/config/ui_config.rs \
--replace xdg-open ${xdg-utils}/bin/xdg-open
'';