Skip to content

Commit

Permalink
mesa: fix darwin eval with bad platforms
Browse files Browse the repository at this point in the history
fixes eval of dri-pkgconfig-stub (fa8d4bd)
  • Loading branch information
paparodeo committed Dec 8, 2024
1 parent cb0b413 commit bc659ea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/libraries/mesa/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ in stdenv.mkDerivation {
(lib.mesonEnable "llvm" true)
];

# Don't need this on Darwin.
passthru.llvmpipeHook = null;
passthru = {
# needed to pass evaluation of bad platforms
driverLink = throw "driverLink not supported on darwin";
# Don't need this on Darwin.
llvmpipeHook = null;
};

}

0 comments on commit bc659ea

Please sign in to comment.