diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-20 17:28:09 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-20 17:28:09 +0100 |
commit | 668ac3ea2c4c7390761dfbc5738c2aa85fda9751 (patch) | |
tree | 74a492a409f981a885df3facd92a63fa54624199 /src/libstore/build.cc | |
parent | 9d40787938f38d19edbabad03586d0948236aefd (diff) |
Make <nix/buildenv.nix> a builtin builder
This avoids sandbox annoyances.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 5c548755c..082cd7db0 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2949,6 +2949,8 @@ void DerivationGoal::runChild() if (drv->builder == "builtin:fetchurl") builtinFetchurl(drv2, netrcData); + else if (drv->builder == "builtin:buildenv") + builtinBuildenv(drv2); else throw Error(format("unsupported builtin function '%1%'") % string(drv->builder, 8)); _exit(0); |