defaultGemConfig: use v8_8_x as v8

The recent v8 doesn't build on Darwin yet, causing to `execjs` fails to
build.
This commit is contained in:
Mario Rodas
2022-08-20 04:20:00 +00:00
parent e79f2f13d9
commit e8e8d670ad
+2
View File
@@ -15165,6 +15165,8 @@ with pkgs;
inherit (darwin) libobjc;
};
defaultGemConfig = callPackage ../development/ruby-modules/gem-config {
# recent v8 doesn't build on nixpkgs Darwin yet. https://github.com/NixOS/nixpkgs/issues/158076
v8 = if stdenv.isDarwin then v8_8_x else v8;
inherit (darwin) DarwinTools cctools;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};