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 = [
|
buildInputs = [
|
||||||
cmake
|
cmake
|
||||||
makeWrapper
|
makeWrapper
|
||||||
xclip
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
] ++ rpathLibs;
|
] ++ rpathLibs;
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace copypasta/src/x11.rs \
|
||||||
|
--replace Command::new\(\"xclip\"\) Command::new\(\"${xclip}/bin/xclip\"\)
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
for f in $(find target/release -maxdepth 1 -type f); do
|
for f in $(find target/release -maxdepth 1 -type f); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user