1 # The Darwin build of Mesa is different enough that we just give it an entire separate expression.
19 common = import ./common.nix { inherit lib fetchFromGitLab; };
20 in stdenv.mkDerivation {
21 inherit (common) pname version src meta;
24 ./darwin-build-fix.patch
27 outputs = [ "out" "dev" ];
35 python3Packages.packaging
36 python3Packages.python
38 python3Packages.pyyaml
42 libxml2 # should be propagated from libllvm
51 mesonAutoFeatures = "disabled";
55 "--datadir=${placeholder "out"}/share"
56 (lib.mesonEnable "glvnd" false)
57 (lib.mesonEnable "shared-glapi" true)
58 (lib.mesonEnable "llvm" true)
61 # Don't need this on Darwin.
62 passthru.llvmpipeHook = null;