diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-01T09·56+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-01T09·56+0000 |
commit | 6cecad2be0f7ced82658ec2a86bcf61583487959 (patch) | |
tree | e412fb161e0cfac4bffeae6bfd96cff674a0f947 /src/libexpr/get-drvs.cc | |
parent | cce31b739c6d3e381824ac6fde3f06ccb02782af (diff) |
* Allow string concatenations involving derivations, e.g.,
configureFlags = "--with-freetype2-library=" + freetype + "/lib";
Diffstat (limited to 'src/libexpr/get-drvs.cc')
-rw-r--r-- | src/libexpr/get-drvs.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libexpr/get-drvs.cc b/src/libexpr/get-drvs.cc index 78edbd392d19..b101f2da30d1 100644 --- a/src/libexpr/get-drvs.cc +++ b/src/libexpr/get-drvs.cc @@ -45,6 +45,10 @@ MetaInfo DrvInfo::queryMetaInfo(EvalState & state) const } +/* Cache for already evaluated derivations. Usually putting ATerms in + a STL container is unsafe (they're not scanning for GC roots), but + here it doesn't matter; everything in this set is reachable from + the stack as well. */ typedef set<Expr> Exprs; |