about summary refs log tree commit diff
path: root/pkgs/build-support/fetchmtn
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-09 18:38:19 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-10 11:18:44 -0500
commit940c4fa3f5c44453f6aaa7eca4ad2f1551a1e21e (patch)
tree1ab7a3b8c26a2a93b442c14a43495f49664c1df2 /pkgs/build-support/fetchmtn
parent7a3a8b852943d400b08ecd28c8392a0b90e79342 (diff)
treewide: Fetchers should use `stdenvNoCC`.
Diffstat (limited to 'pkgs/build-support/fetchmtn')
-rw-r--r--pkgs/build-support/fetchmtn/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/fetchmtn/default.nix b/pkgs/build-support/fetchmtn/default.nix
index 1dc14e8cab13c..7ce67453d698b 100644
--- a/pkgs/build-support/fetchmtn/default.nix
+++ b/pkgs/build-support/fetchmtn/default.nix
@@ -1,5 +1,5 @@
 # You can specify some extra mirrors and a cache DB via options
-{stdenv, monotone, defaultDBMirrors ? [], cacheDB ? "./mtn-checkout.db"}:
+{stdenvNoCC, monotone, defaultDBMirrors ? [], cacheDB ? "./mtn-checkout.db"}:
 # dbs is a list of strings
 # each is an url for sync
 
@@ -8,7 +8,7 @@
 {name ? "mtn-checkout", dbs ? [], sha256
 , selector ? "h:" + branch, branch}:
 
-stdenv.mkDerivation {
+stdenvNoCC.mkDerivation {
   builder = ./builder.sh;
   nativeBuildInputs = [monotone];
 
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
   dbs = defaultDBMirrors ++ dbs;
   inherit branch cacheDB name selector;
 
-  impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars;
+  impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
 
 }