gn: Add libc++ and libc++abi from third_party
On GNU/Linux the build references these files, so let's fetch them from
the Chromium repository. I haven't checked whether they are heavily
patched or whether we can use the version from LLVM, but when looking at
the changes, they do seem to divert a bit from upstream LLVM.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @matthewbauer, @stesie
commita3502ba765ed5634b62d2440d342f81f68a67a8b
authoraszlig <aszlig@nix.build>
dateWed 25 Apr 2018, 14:58 (9 years ago)
parentac61ae5
pkgs/development/tools/build-managers/gn/default.nix+10
@@ -33,6 +33,16 @@ let
3333 sha256 = "1vgcg741lwz84kdy0qc5wn9dxx3j9zh6a9d185fpygdsipwikqv8";
3434 stripRoot = false;
3535 };
36+ "buildtools/third_party/libc++/trunk" = fetchgit {
37+ url = "https://chromium.googlesource.com/chromium/llvm-project/libcxx";
38+ rev = "ece1de8658d749e19c12cacd4458cc330eca94e3";
39+ sha256 = "1nlyvfkzhchwv9b18bh82jcamqv3acj26ah9ajs31f2dql05amhg";
40+ };
41+ "buildtools/third_party/libc++abi/trunk" = fetchgit {
42+ url = "https://chromium.googlesource.com/chromium/llvm-project/libcxxabi";
43+ rev = "52c7a3760aef1df328a9bc957f686410872f0dc0";
44+ sha256 = "1aam539j01381q27b7xhij18pz3h0lhw08hglvqq4hgvlqx5cn2s";
45+ };
3646 };
3747
3848in stdenv.mkDerivation {