webview-lib: Force clangStdenv everywhere as MacOS requires clangStdenv. Add clang-tools else clang headers aren't found

This commit is contained in:
Qubasa
2025-01-11 12:54:52 +07:00
parent bbe37a998f
commit ed5754abb3

View File

@@ -1,6 +1,6 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
pkgs.clangStdenv.mkDerivation {
pname = "webview";
version = "nigthly";
@@ -17,12 +17,16 @@ pkgs.stdenv.mkDerivation {
];
# Dependencies used during the build process, if any
nativeBuildInputs = with pkgs; [
gnumake
cmake
clang-tools
pkg-config
];
buildInputs =
with pkgs;
[
gnumake
cmake
pkg-config
]
++ pkgs.lib.optionals stdenv.isLinux [
webkitgtk_6_0