Merge pull request #230119 from wegank/clipboard-jh-darwin

clipboard-jh: fix build on darwin
This commit is contained in:
Weijia Wang 2023-05-05 18:08:10 +03:00 committed by GitHub
commit b9d652d8a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };