Merge pull request #49694 from periklis/alacritty-fix-regression

alacritty: fix build on darwin
This commit is contained in:
Jörg Thalheim 2018-11-03 20:05:05 +00:00 committed by GitHub
commit 330afca638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,9 @@ in buildRustPackage rec {
outputs = [ "out" "terminfo" ]; outputs = [ "out" "terminfo" ];
# https://github.com/NixOS/nixpkgs/issues/49693
doCheck = !stdenv.isDarwin;
postPatch = '' postPatch = ''
substituteInPlace copypasta/src/x11.rs \ substituteInPlace copypasta/src/x11.rs \
--replace Command::new\(\"xclip\"\) Command::new\(\"${xclip}/bin/xclip\"\) --replace Command::new\(\"xclip\"\) Command::new\(\"${xclip}/bin/xclip\"\)