chromium: take gnChromium from buildPackages

${gnChromium}/bin/gn needs to be compiled for the buildPlatform
since it is run at build time.
This commit is contained in:
Adam Joseph 2023-04-22 16:36:37 -07:00
parent 682e9127e2
commit 58c67d2bdb

View File

@ -1,4 +1,5 @@
{ newScope, config, stdenv, fetchurl, makeWrapper
, buildPackages
, llvmPackages_16
, ed, gnugrep, coreutils, xdg-utils
, glib, gtk3, gtk4, gnome, gsettings-desktop-schemas, gn, fetchgit
@ -47,7 +48,7 @@ let
inherit channel chromiumVersionAtLeast versionRange;
inherit proprietaryCodecs
cupsSupport pulseSupport ungoogled;
gnChromium = gn.overrideAttrs (oldAttrs: {
gnChromium = buildPackages.gn.overrideAttrs (oldAttrs: {
inherit (upstream-info.deps.gn) version;
src = fetchgit {
inherit (upstream-info.deps.gn) url rev sha256;