aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval-cache.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-29 16:39:41 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-29 16:39:41 +0200
commitb681408879c9ad1e500fa6e4566c6d119def4271 (patch)
tree8f7687379aa4799ab0c96c03b834f07d767a27e9 /src/libexpr/eval-cache.hh
parentca946860ce6ce5d4800b0d93d3f83c30d3c953c0 (diff)
Factor out EvalCache::forceDerivation()
Diffstat (limited to 'src/libexpr/eval-cache.hh')
-rw-r--r--src/libexpr/eval-cache.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/eval-cache.hh b/src/libexpr/eval-cache.hh
index 9c47da315..30261fd3a 100644
--- a/src/libexpr/eval-cache.hh
+++ b/src/libexpr/eval-cache.hh
@@ -101,6 +101,9 @@ public:
bool isDerivation();
Value & forceValue();
+
+ /* Force creation of the .drv file in the Nix store. */
+ StorePath forceDerivation();
};
}