1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 11:43:15 +02:00

Implement basic ‘make install’

This commit is contained in:
Eelco Dolstra 2013-11-23 17:04:27 +00:00
parent d1b3ca0b4a
commit 611868a909
3 changed files with 13 additions and 3 deletions

View file

@ -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);