math-preview: fix by overriding nodejs from 22 to 20 (#386678)

This commit is contained in:
Arne Keller
2025-03-13 10:19:55 +01:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@
buildNpmPackage rec {
pname = "math-preview";
version = "5.1.1";
inherit nodejs;
src = fetchFromGitLab {
owner = "matsievskiysv";
+4
View File
@@ -16861,6 +16861,10 @@ with pkgs;
cudaSupport = true;
};
math-preview = callPackage ../by-name/ma/math-preview/package.nix {
nodejs = nodejs_20;
};
or-tools = callPackage ../development/libraries/science/math/or-tools {
inherit (darwin) DarwinTools;
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;