mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
alacritty: only depend on xdg-utils on Linux
This is technically not entirely correct (for BSDs etc), but there are other isLinux checks in the file so let's just do this to unblock Darwin users for now. Fixes #288468.
This commit is contained in:
parent
641d3aeeab
commit
1d45b14461
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user