From e0302c7147877f2804ee8ff7765e9e185414dc3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Sat, 18 Apr 2026 21:13:28 +0200 Subject: [PATCH] nix-builder: nvidia-cutlass-dsl requires Linux Fixes macOS cache build. --- .../pkgs/python-modules/nvidia-cutlass-dsl-libs/default.nix | 2 +- nix-builder/pkgs/python-modules/nvidia-cutlass-dsl/default.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl-libs/default.nix b/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl-libs/default.nix index 10821605c..b7052c1d5 100644 --- a/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl-libs/default.nix +++ b/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl-libs/default.nix @@ -75,7 +75,7 @@ buildPythonPackage rec { description = "NVIDIA CUTLASS Python DSL native libraries"; homepage = "https://github.com/NVIDIA/cutlass"; license = lib.licenses.unfree; - broken = !(cudaPackages.cudaAtLeast "12.8"); + broken = !(stdenv.hostPlatform.isLinux && cudaPackages.cudaAtLeast "12.8"); sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; } diff --git a/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl/default.nix b/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl/default.nix index 868f40d2a..df14027be 100644 --- a/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl/default.nix +++ b/nix-builder/pkgs/python-modules/nvidia-cutlass-dsl/default.nix @@ -13,7 +13,6 @@ let format = "wheel"; - pyShortVersion = "cp" + builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; in buildPythonPackage rec { pname = "nvidia-cutlass-dsl";