webview-lib: Force clangStdenv everywhere as MacOS requires clangStdenv. Add clang-tools else clang headers aren't found
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.clangStdenv.mkDerivation {
|
||||||
pname = "webview";
|
pname = "webview";
|
||||||
version = "nigthly";
|
version = "nigthly";
|
||||||
|
|
||||||
@@ -17,12 +17,16 @@ pkgs.stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Dependencies used during the build process, if any
|
# Dependencies used during the build process, if any
|
||||||
|
nativeBuildInputs = with pkgs; [
|
||||||
|
gnumake
|
||||||
|
cmake
|
||||||
|
clang-tools
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
gnumake
|
|
||||||
cmake
|
|
||||||
pkg-config
|
|
||||||
]
|
]
|
||||||
++ pkgs.lib.optionals stdenv.isLinux [
|
++ pkgs.lib.optionals stdenv.isLinux [
|
||||||
webkitgtk_6_0
|
webkitgtk_6_0
|
||||||
|
|||||||
Reference in New Issue
Block a user