build nix head successfully

This commit is contained in:
Joel Taylor
2014-09-09 13:54:57 -07:00
parent 6f949b2e87
commit fa9b1f9cda
6 changed files with 18 additions and 15 deletions
@@ -1,9 +1,5 @@
{ stdenv, fetchurl, perl, groff, llvm, cmake, libxml2, python }:
# be sure not to rebuild clang on darwin; some packages request it specifically
# we need to fix those
assert stdenv.isDarwin -> stdenv.gcc.nativeTools;
let
version = "3.3";
gccReal = if (stdenv.gcc.gcc or null) == null then stdenv.gcc else stdenv.gcc.gcc;
@@ -1,5 +1,9 @@
{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, clang-tools-extra_src }:
# be sure not to rebuild clang on darwin; some packages request it specifically
# we need to fix those
assert stdenv.isDarwin -> stdenv.gcc.nativeTools;
stdenv.mkDerivation {
name = "clang-${version}";