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
commit effceb4057
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
'';