From 0824f407609965302446acb1381e0ce6c878d85f Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Mon, 18 Jan 2016 15:06:36 +0100
Subject: [PATCH] <nix/buildenv.nix>: Don't substitute

This should get rid of a certificate warning from "nix-env -i" early
in the install script.
---
 corepkgs/buildenv.nix | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix
index ab1ce13f2..70981a752 100644
--- a/corepkgs/buildenv.nix
+++ b/corepkgs/buildenv.nix
@@ -8,7 +8,7 @@ derivation {
   builder = perl;
   args = [ "-w" ./buildenv.pl ];
 
-  manifest = manifest;
+  inherit manifest;
 
   # !!! grmbl, need structured data for passing this in a clean way.
   derivations =
@@ -23,6 +23,9 @@ derivation {
   # network traffic, so don't do that.
   preferLocalBuild = true;
 
+  # Also don't bother substituting.
+  allowSubstitutes = false;
+
   __sandboxProfile = ''
     (allow sysctl-read)
     (allow file-read*
-- 
GitLab