alacritty: Don't use xclip from PATH
This commit is contained in:
parent
57b15422d9
commit
fc74a36672
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue