mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
Merge pull request #288471 from K900/alacritty-darwin
alacritty: only depend on xdg-utils on Linux
This commit is contained in:
commit
effceb4057
@ -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