Merge pull request #27818 from NeQuissimus/alacritty_xclip
alacritty: Don't use xclip from PATH
This commit is contained in:
commit
92a40d2271
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue