feat(nixified-ai): configure comfyui cuda model support

This commit is contained in:
2026-04-17 13:14:48 -07:00
committed by Kat Huang
parent 522491383b
commit f96b363dbb
2 changed files with 28 additions and 8 deletions

View File

@@ -75,6 +75,15 @@ in
dontCheckRuntimeDeps = true;
});
magma = prev.magma.overrideAttrs (oldAttrs: {
# The CUDA codegen step in magma 2.9.0 can segfault when `make generate`
# fans out across all cores. Keep the rest of the build parallel.
preConfigure = builtins.replaceStrings
[ "make -j$NIX_BUILD_CORES generate" ]
[ "make -j1 generate" ]
oldAttrs.preConfigure;
});
# XXX: codex and claude-code are now provided by flakes in nix.nix
# See the overlay at the end of nixpkgs.overlays in nix.nix