about summary refs log tree commit diff
path: root/third_party/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-31T20·58+0100
committerVincent Ambo <tazjin@google.com>2020-05-31T20·58+0100
commit76f4e273867b239bed818f569e491470116b6ed6 (patch)
tree2d1bd5169eb35c2c9b7149b5cfc5af924b021844 /third_party/default.nix
parent48f08e8cc029e946056c01c3f48607712ff054f1 (diff)
fix(3p): Force all stdenvs to use LLVM10 r/877
Diffstat (limited to 'third_party/default.nix')
-rw-r--r--third_party/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index f4c7a67ce4cd..c568e08d9b3a 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -30,10 +30,12 @@ let
     inherit (nixpkgs)
       age
       autoconf
+      autoreconfHook
       bashInteractive
       bat
       buildGoModule
       buildGoPackage
+      buildPackages
       bzip2
       c-ares
       cacert
@@ -42,7 +44,6 @@ let
       cargo
       cgit
       clang-tools
-      clangStdenv
       clang_10
       cmake
       coreutils
@@ -59,6 +60,7 @@ let
       freetype
       gettext
       glibc
+      gmock
       gnutar
       go
       google-cloud-sdk
@@ -92,7 +94,6 @@ let
       parallel
       pkgconfig
       pounce
-      protobuf
       python3
       python3Packages
       remarshal
@@ -105,7 +106,6 @@ let
       rustc
       sbcl
       sqlite
-      stdenv
       stern
       symlinkJoin
       systemd
@@ -153,8 +153,8 @@ let
       utillinuxMinimal;
   };
 
-in exposed // {
-  callPackage = nixpkgs.lib.callPackageWith exposed;
+in exposed.lib.fix(self: exposed // {
+  callPackage = nixpkgs.lib.callPackageWith self;
 
   # Provide the source code of nixpkgs, but do not provide an imported
   # version of it.
@@ -169,7 +169,9 @@ in exposed // {
 
   # Use LLVM 10
   llvmPackages = nixpkgs.llvmPackages_10;
+  clangStdenv = nixpkgs.llvmPackages_10.stdenv;
+  stdenv = nixpkgs.llvmPackages_10.stdenv;
 
   # Make NixOS available
   nixos = import "${stableNixpkgsSrc}/nixos";
-}
+})