clipboard-jh: fixed broken system clipboard integration
fixes https://github.com/NixOS/nixpkgs/issues/229659 as well as https://github.com/Slackadays/Clipboard/discussions/117
This commit is contained in:
parent
6a603868e4
commit
afbbd3fcf6
|
@ -4,6 +4,7 @@
|
||||||
, cmake
|
, cmake
|
||||||
, libffi
|
, libffi
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, patchelf
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
, wayland
|
, wayland
|
||||||
, xorg
|
, xorg
|
||||||
|
@ -45,6 +46,10 @@ stdenv.mkDerivation rec {
|
||||||
"-DINSTALL_PREFIX=${placeholder "out"}"
|
"-DINSTALL_PREFIX=${placeholder "out"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postFixup = lib.optionalString stdenv.isLinux ''
|
||||||
|
patchelf $out/bin/cb --add-rpath $out/lib
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Cut, copy, and paste anything, anywhere, all from the terminal";
|
description = "Cut, copy, and paste anything, anywhere, all from the terminal";
|
||||||
homepage = "https://github.com/Slackadays/clipboard";
|
homepage = "https://github.com/Slackadays/clipboard";
|
||||||
|
|
Loading…
Reference in a new issue