clipboard-jh: fix build on darwin

This commit is contained in:
Weijia Wang 2023-05-05 16:49:29 +03:00
parent 469bda7c95
commit c03f37e3b3
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
pkg-config
];
buildInputs = [
buildInputs = lib.optionals stdenv.isLinux [
libffi
wayland-protocols
wayland
@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/Slackadays/clipboard";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dit7ya ];
platforms = platforms.all;
mainProgram = "cb";
};
}

View file

@ -13942,7 +13942,7 @@ with pkgs;
clipnotify = callPackage ../tools/misc/clipnotify { };
clipboard-jh = callPackage ../tools/misc/clipboard-jh {
stdenv = if stdenv.isDarwin then llvmPackages_15.stdenv else stdenv;
stdenv = if stdenv.isDarwin then llvmPackages_16.stdenv else stdenv;
};
clipbuzz = callPackage ../tools/misc/clipbuzz { };