WiP! use Clang for genodeSources stdenv
This commit is contained in:
parent
aa1dbe981f
commit
527c449bc6
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue