cudaPackages.tests.redists-installed: some packages may have dependents which are unavailable

Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
Connor Baker
2025-10-22 17:17:07 -07:00
parent 04512dc690
commit 68aefe6693
@@ -10,7 +10,16 @@
let
# redists-unpacked has already found all the names of the redistributables
availableRedistsForPlatform = lib.filterAttrs (
_: value: value.meta.available or false
_: value:
let
canInstantiate =
(builtins.tryEval (
builtins.deepSeq ((value.drvPath or null) != null) ((value.drvPath or null) != null)
)).value;
in
lib.warnIfNot canInstantiate
"Package ${value.name} is unavailable and will not be included in redists-installed"
canInstantiate
) tests.redists-unpacked.passthru.redistsForPlatform;
mkOutputs =