We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb15e5 commit 6c989aaCopy full SHA for 6c989aa
1 file changed
nix/wrapper.nix
@@ -62,7 +62,16 @@ rec {
62
then [ ]
63
else
64
if evalResult.value ? name
65
- then [ (mkPackage newName evalResult.value) ]
+ then
66
+ let
67
+ pkgEvalResult = builtins.tryEval mkPackage newName evalResult.value;
68
+ in
69
+ [
70
+ (if pkgEvalResult.success then pkgEvalResult.value else {
71
+ attrName = builtins.concatStringsSep "." newName;
72
+ evalError = true;
73
+ })
74
+ ]
75
76
if evalResult.value ? AAAAAASomeThingsFailToEvaluate
77
0 commit comments