cudaPackages_10: hotfix eval error in flags.nix

Closes https://github.com/NixOS/nixpkgs/issues/275939
This commit is contained in:
Someone Serge 2023-12-24 20:11:45 +00:00
parent ac58b65cf5
commit fa07eab5d1
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -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))