Nix Flake for the SCALE toolchain that works as a drop-in overlay for cudaPackages
  • Nix 99.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-04 22:02:22 +02:00
.assets Update README 2026-07-12 17:06:34 +02:00
.hydra enable scaleBandaids on CI 2026-08-03 15:44:37 +02:00
nix override libnpp 2026-08-04 22:02:22 +02:00
.gitignore fix interactive usage of nvcc on C code 2026-07-28 23:55:36 +02:00
default.nix add flake-compat 2026-07-12 17:15:43 +02:00
flake.lock add flake-compat 2026-07-12 17:15:43 +02:00
flake.nix disable opencv cudaSupport (it'll never build without cudnn anyway) 2026-08-04 21:41:12 +02:00
LICENSE.md Create LICENSE.md 2026-07-12 16:59:42 +02:00
README.md Update README.md 2026-07-12 17:16:07 +02:00
shell.nix add flake-compat 2026-07-12 17:15:43 +02:00

SCALE Nix Flake

Spectral Compute logo

Nix flake for the SCALE CUDA-compatible compiler toolkit (by Spectral Compute).

Can be used as a drop-in overlay for compiling any existing packages that depend on cudaPackages!

Outputs

Packages (legacyPackages.<system>.*):

  • scalePackages, scalePackages_nightly: Standalone SCALE toolchain.
    • cccl - version of CCCL shipped with the SCALE tarball
    • scale-unwrapped - The raw patched SCALE tarball tree
    • scale-runtime - SCALE CUDA runtime libraries and includes
    • scale-llvm-unwrapped - SCALE LLVM compiler binaries (unwrapped)
    • scale-llvm - Scale LLVM compiler wrapped with nixpkg's wrapCC
    • scale-nvcc - The main SCALE NVCC compiler package
  • nixpkgsScale, nixpkgsScale_nightly: Full Nixpkgs instances with cudaPackages globally replaced by their respective SCALE packages.
    • This is soft-deprecated/only used for development purposes: use overlays.cudaPackages overlays over this whenever possible)

Overlays (overlays.*):

  • overlays:
    • default: Adds the SCALE packages to pkgs.
    • cudaPackages, cudaPackages_nightly: Overrides cudaPackages to use SCALE.