Use upstream Makefile
Since v 6.1 upstream provides a Makefile, therefore I removed the install steps in `installPhase`.
This commit is contained in:
parent
5a0c05e61b
commit
cafe0e2cb1
@ -13,12 +13,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv";
|
sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
preBuild = ''
|
||||||
|
substituteInPlace ./Makefile --replace /usr "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper xsel clipnotify ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
|
||||||
cp clipdel clipmenu clipmenud $out/bin
|
|
||||||
|
|
||||||
for bin in $out/bin/*; do
|
for bin in $out/bin/*; do
|
||||||
wrapProgram "$bin" --prefix PATH : "${runtimePath}"
|
wrapProgram "$bin" --prefix PATH : "${runtimePath}"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user