treewide: Fetchers should use stdenvNoCC.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{stdenv, subversion, glibcLocales, sshSupport ? false, openssh ? null}:
|
||||
{stdenvNoCC, subversion, glibcLocales, sshSupport ? false, openssh ? null}:
|
||||
{url, rev ? "HEAD", md5 ? "", sha256 ? "",
|
||||
ignoreExternals ? false, ignoreKeywords ? false, name ? null}:
|
||||
|
||||
let
|
||||
repoName = with stdenv.lib;
|
||||
repoName = with stdenvNoCC.lib;
|
||||
let
|
||||
fst = head;
|
||||
snd = l: head (tail l);
|
||||
@@ -28,7 +28,7 @@ in
|
||||
if md5 != "" then
|
||||
throw "fetchsvn does not support md5 anymore, please use sha256"
|
||||
else
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = name_;
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = [ subversion glibcLocales ];
|
||||
@@ -39,6 +39,6 @@ stdenv.mkDerivation {
|
||||
|
||||
inherit url rev sshSupport openssh ignoreExternals ignoreKeywords;
|
||||
|
||||
impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars;
|
||||
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user