summary refs log tree commit diff
path: root/pkgs/development/compilers/rustc/head.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-24 18:52:34 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-24 18:52:50 +0200
commit2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2 (patch)
tree5e777ec37c3804c2e3611710fb5a1e45149a8692 /pkgs/development/compilers/rustc/head.nix
parentbce42c282a9f58191362e25a3fa91d261bd7e388 (diff)
downloadnixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar.gz
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar.bz2
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar.lz
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar.xz
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.tar.zst
nixpkgs-2d6d43c02cd8f69668e961d7953b7bf1a9f63cf2.zip
Fix tarball build
Diffstat (limited to 'pkgs/development/compilers/rustc/head.nix')
-rw-r--r--pkgs/development/compilers/rustc/head.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rustc/head.nix b/pkgs/development/compilers/rustc/head.nix
index ad33906ae6e..4f512096a42 100644
--- a/pkgs/development/compilers/rustc/head.nix
+++ b/pkgs/development/compilers/rustc/head.nix
@@ -1,5 +1,7 @@
 {stdenv, fetchurl, fetchgit, which, file, perl, curl, python27, makeWrapper}:
 
+assert stdenv.gcc.gcc != null;
+
 /* Rust's build process has a few quirks :
 
 - It requires some patched in llvm that haven't landed upstream, so it