* The old evaluator segfaults if the `outPath' attribute is missing.
Work around it for the moment. svn path=/nixpkgs/trunk/; revision=21747
This commit is contained in:
parent
891868a4fe
commit
cde9d0fb13
@ -281,7 +281,7 @@ rec {
|
|||||||
representation of derivations is very large (on the order of
|
representation of derivations is very large (on the order of
|
||||||
megabytes) and is not actually used by the manual generator. */
|
megabytes) and is not actually used by the manual generator. */
|
||||||
scrubOptionValue = x:
|
scrubOptionValue = x:
|
||||||
if isDerivation x then { type = "derivation"; drvPath = x.name; name = x.name; }
|
if isDerivation x then { type = "derivation"; drvPath = x.name; outPath = x.name; name = x.name; }
|
||||||
else if isList x then map scrubOptionValue x
|
else if isList x then map scrubOptionValue x
|
||||||
else if isAttrs x then mapAttrs (n: v: scrubOptionValue v) x
|
else if isAttrs x then mapAttrs (n: v: scrubOptionValue v) x
|
||||||
else x;
|
else x;
|
||||||
|
Loading…
Reference in New Issue
Block a user