Merge pull request #276536 from SomeoneSerge/fix/cuda-caffe

cudaPackages_10.flags.isJetsonBuild: fix missing attribute errors
This commit is contained in:
Someone 2023-12-24 23:53:16 +00:00 committed by GitHub
commit 5fe799eb93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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