From a3502ba765ed5634b62d2440d342f81f68a67a8b Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 25 Apr 2018 14:58:54 +0200 Subject: 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 Cc: @matthewbauer, @stesie --- pkgs/development/tools/build-managers/gn/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkgs/development') diff --git a/pkgs/development/tools/build-managers/gn/default.nix b/pkgs/development/tools/build-managers/gn/default.nix index a9930d258c2c..35f54369abd9 100644 --- a/pkgs/development/tools/build-managers/gn/default.nix +++ b/pkgs/development/tools/build-managers/gn/default.nix @@ -33,6 +33,16 @@ let sha256 = "1vgcg741lwz84kdy0qc5wn9dxx3j9zh6a9d185fpygdsipwikqv8"; stripRoot = false; }; + "buildtools/third_party/libc++/trunk" = fetchgit { + url = "https://chromium.googlesource.com/chromium/llvm-project/libcxx"; + rev = "ece1de8658d749e19c12cacd4458cc330eca94e3"; + sha256 = "1nlyvfkzhchwv9b18bh82jcamqv3acj26ah9ajs31f2dql05amhg"; + }; + "buildtools/third_party/libc++abi/trunk" = fetchgit { + url = "https://chromium.googlesource.com/chromium/llvm-project/libcxxabi"; + rev = "52c7a3760aef1df328a9bc957f686410872f0dc0"; + sha256 = "1aam539j01381q27b7xhij18pz3h0lhw08hglvqq4hgvlqx5cn2s"; + }; }; in stdenv.mkDerivation { -- cgit 1.4.1