Merge pull request #288471 from K900/alacritty-darwin
alacritty: only depend on xdg-utils on Linux
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user