diff --git a/pkgs/tools/misc/clipboard-jh/default.nix b/pkgs/tools/misc/clipboard-jh/default.nix index c9d26cfa69f9..5ac81b2dc6a3 100644 --- a/pkgs/tools/misc/clipboard-jh/default.nix +++ b/pkgs/tools/misc/clipboard-jh/default.nix @@ -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"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c666f7182614..14482a260b44 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };