From fa07eab5d12312a5b7880da29037f40e96eacd1e Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Sun, 24 Dec 2023 20:11:45 +0000 Subject: [PATCH] cudaPackages_10: hotfix eval error in flags.nix Closes https://github.com/NixOS/nixpkgs/issues/275939 --- pkgs/development/cuda-modules/flags.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/cuda-modules/flags.nix b/pkgs/development/cuda-modules/flags.nix index 139952bc9dfd..ab44ced45232 100644 --- a/pkgs/development/cuda-modules/flags.nix +++ b/pkgs/development/cuda-modules/flags.nix @@ -219,7 +219,7 @@ let isJetsonBuild = let requestedJetsonDevices = - lists.filter (cap: cudaComputeCapabilityToIsJetson.${cap}) + lists.filter (cap: cudaComputeCapabilityToIsJetson.${cap} or false) cudaCapabilities; requestedNonJetsonDevices = lists.filter (cap: !(builtins.elem cap requestedJetsonDevices))