summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23 17:04:27 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-23 17:04:27 +0000
commit611868a90904ac233d8476682a4618fdd8c78c50 (patch)
tree30a933dda8d72666a9b2eadcd7127caffdf2a8f9 /src
parentd1b3ca0b4a57f48f94a555c97f6a555c3a1f3639 (diff)
downloadguix-611868a90904ac233d8476682a4618fdd8c78c50.tar.gz
Implement basic ‘make install’
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 9c9d202eda..bb6739d205 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1322,6 +1322,7 @@ void EvalState::createBaseEnv()
     /* Add a wrapper around the derivation primop that computes the
        `drvPath' and `outPath' attributes lazily. */
     string path = findFile("nix/derivation.nix");
+    assert(!path.empty());
     sDerivationNix = symbols.create(path);
     evalFile(path, v);
     addConstant("derivation", v);