diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-20 20:05:03 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-20 18:07:27 +0000 |
commit | 7ccd9464077180f633e65c15906bdda707077e8c (patch) | |
tree | 9c68bfe7714b77285139e883f26e7da5fc6990f5 /src/libstore/misc.hh | |
parent | 5558652709f27e8a887580b77b93c705659d7a4b (diff) | |
download | guix-7ccd9464077180f633e65c15906bdda707077e8c.tar.gz |
Don't set $preferLocalBuild and $requiredSystemFeatures in builders
With C++ std::map, doing a comparison like ‘map["foo"] == ...’ has the side-effect of adding a mapping from "foo" to the empty string if "foo" doesn't exist in the map. So we ended up setting some environment variables by accident.
Diffstat (limited to 'src/libstore/misc.hh')
-rw-r--r-- | src/libstore/misc.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/misc.hh b/src/libstore/misc.hh index 6f90ebe5e4..144cb7f457 100644 --- a/src/libstore/misc.hh +++ b/src/libstore/misc.hh @@ -32,7 +32,7 @@ void queryMissing(StoreAPI & store, const PathSet & targets, PathSet & willBuild, PathSet & willSubstitute, PathSet & unknown, unsigned long long & downloadSize, unsigned long long & narSize); -bool willBuildLocally(Derivation & drv); +bool willBuildLocally(const Derivation & drv); } |