alacritty: Don't use xclip from PATH

This commit is contained in:
Tim Steinbach 2017-07-31 18:45:26 -04:00
parent 57b15422d9
commit fc74a36672
No known key found for this signature in database
GPG key ID: 472BFCCA96BD0EDA

View file

@ -47,6 +47,11 @@ buildRustPackage rec {
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