Merge pull request #27818 from NeQuissimus/alacritty_xclip

alacritty: Don't use xclip from PATH
This commit is contained in:
Tim Steinbach 2017-08-01 09:24:52 -04:00 committed by GitHub
commit 92a40d2271

View File

@ -43,10 +43,14 @@ buildRustPackage rec {
buildInputs = [
cmake
makeWrapper
xclip
pkgconfig
] ++ rpathLibs;
patchPhase = ''
substituteInPlace copypasta/src/x11.rs \
--replace Command::new\(\"xclip\"\) Command::new\(\"${xclip}/bin/xclip\"\)
'';
installPhase = ''
mkdir -p $out/bin
for f in $(find target/release -maxdepth 1 -type f); do