requireFile: Use stdenvNoCC
There's no need for a C compiler
This commit is contained in:
parent
050d07d672
commit
9ec53a397f
1 changed files with 2 additions and 2 deletions
|
@ -157,14 +157,14 @@ rec {
|
|||
hash = if sha256 != null then sha256 else sha1;
|
||||
name_ = if name == null then baseNameOf (toString url) else name;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = name_;
|
||||
outputHashMode = hashMode;
|
||||
outputHashAlgo = hashAlgo;
|
||||
outputHash = hash;
|
||||
preferLocalBuild = true;
|
||||
builder = writeScript "restrict-message" ''
|
||||
source ${stdenv}/setup
|
||||
source ${stdenvNoCC}/setup
|
||||
cat <<_EOF_
|
||||
|
||||
***
|
||||
|
|
Loading…
Reference in a new issue