chromiumDev: Fix the build
Building Chromium 82 requires LLVM 10 for the new argument "-fintegrated-cc1". LLVM 9 fails with: clang++: error: unknown argument: '-fintegrated-cc1'
This commit is contained in:
parent
8be566d288
commit
1d961a4c6d
|
@ -1,4 +1,4 @@
|
||||||
{ newScope, config, stdenv, llvmPackages_9
|
{ newScope, config, stdenv, llvmPackages_9, llvmPackages_10
|
||||||
, makeWrapper, ed
|
, makeWrapper, ed
|
||||||
, glib, gtk3, gnome3, gsettings-desktop-schemas
|
, glib, gtk3, gnome3, gsettings-desktop-schemas
|
||||||
, libva ? null
|
, libva ? null
|
||||||
|
@ -19,8 +19,10 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
stdenv = llvmPackages_9.stdenv;
|
llvmPackages = if channel == "dev"
|
||||||
llvmPackages = llvmPackages_9;
|
then llvmPackages_10
|
||||||
|
else llvmPackages_9;
|
||||||
|
stdenv = llvmPackages.stdenv;
|
||||||
|
|
||||||
callPackage = newScope chromium;
|
callPackage = newScope chromium;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue