diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-07T13·55+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-07T13·55+0000 |
commit | fc92244ba81d884e099d467a3b82fbdcbff7fc40 (patch) | |
tree | fe66575aab172941946eab41f3974961fe00eb1b /src/nix-instantiate | |
parent | a353aef0b157e7c628fd18640bd6c45215f3e606 (diff) |
* Implemented the primops necessary for generating the NixOS manual.
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index a71998de24d3..2f41fa81b513 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -75,7 +75,8 @@ void processExpr(EvalState & state, const Strings & attrPaths, std::cout << format("%1%\n") % canonicaliseExpr(e); else { Value v; - if (strict) state.strictEval(e, v); else state.eval(e, v); + state.eval(e, v); + if (strict) state.strictForceValue(v); if (evalOnly) std::cout << v << std::endl; else { |