Commit c25897c1 authored by Adam Joseph's avatar Adam Joseph
Browse files

chromium: take llvmPackages from pkgsBuildTarget

`llvmPackages.clang` is used in the `gnFlags` attrset, so we need to
indicate explicitly which "on" platform (the build) and which "for"
platform (the host) we want.  This commit does that.
parent 758bf4cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,10 +16,11 @@
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, commandLineArgs ? ""
, pkgsBuildTarget
}:

let
  llvmPackages = llvmPackages_16;
  llvmPackages = pkgsBuildTarget.llvmPackages_16;
  stdenv = llvmPackages.stdenv;

  upstream-info = (lib.importJSON ./upstream-info.json).${channel};