From 76f4e273867b239bed818f569e491470116b6ed6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 31 May 2020 21:58:17 +0100 Subject: fix(3p): Force all stdenvs to use LLVM10 --- third_party/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'third_party') diff --git a/third_party/default.nix b/third_party/default.nix index f4c7a67ce4..c568e08d9b 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"; -} +}) -- cgit 1.4.1