2
0
Fork 0

WiP! use Clang for genodeSources stdenv

This commit is contained in:
Ehmry - 2020-12-27 01:12:54 +01:00
parent aa1dbe981f
commit 527c449bc6
1 changed files with 4 additions and 4 deletions

View File

@ -130,9 +130,8 @@ let
# The "ports" mechanism is hardly deterministic, so prepare with # The "ports" mechanism is hardly deterministic, so prepare with
# a pinned nixpkgs revision for a pinned platform. # a pinned nixpkgs revision for a pinned platform.
toolchain = buildPackages.buildPackages.callPackage ./toolchain.nix { }; stdenv' = pkgs.stdenvAdapters.overrideCC pkgs.stdenv
buildPackages.llvmPackages_11.lldClangNoCompilerRt;
stdenv' = pkgs.stdenvAdapters.overrideCC pkgs.stdenv toolchain;
buildUpstream = buildUpstream =
# Build from the Genode sources # Build from the Genode sources
@ -328,7 +327,8 @@ let
in makePackages // depotPackages // { in makePackages // depotPackages // {
genodeSources = genodeSources // { genodeSources = genodeSources // {
inherit arch buildUpstream buildDepot genodeBase ports specs toolchain; inherit arch buildUpstream buildDepot genodeBase ports specs;
stdenv = stdenv';
}; };
base-hw-pc = buildUpstream { base-hw-pc = buildUpstream {