mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Fixing the nixpkgs tarball build
Fixing the clang fetchsvn hash. I don't know why it does not match that given by nix-prefetch-svn, but I set that given by nix-build. svn path=/nixpkgs/trunk/; revision=22239
This commit is contained in:
parent
a4a34dd6e4
commit
6bc2fcd511
@ -21,7 +21,9 @@ stdenv.mkDerivation ({
|
||||
}
|
||||
//
|
||||
(if buildClang then
|
||||
|
||||
# I write the assert because 'gcc.libc' will be evaluated although 'triplet' would not
|
||||
# evaluate properly (in the preConfigure below)
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
let
|
||||
triplet = if (stdenv.system == "i686-linux") then "i686-unknown-linux-gnu"
|
||||
else if (stdenv.system == "x86_64-linux") then "x86_64-unknown-linux-gnu"
|
||||
@ -30,7 +32,7 @@ stdenv.mkDerivation ({
|
||||
srcClang = fetchsvn {
|
||||
url = http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_27;
|
||||
rev = 105900;
|
||||
sha256 = "0sfj9glc5yi5fb23h1xihs11l420wzghkm5pk4kwg6pw4w19xg00";
|
||||
sha256 = "fe79988950319b62d3bca34848424f20a3f33c8182507df222f2ac93fbacf671";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user