Skip to content

Commit c25897c

Browse files
author
Adam Joseph
committed
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.
1 parent 758bf4c commit c25897c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • pkgs/applications/networking/browsers/chromium

pkgs/applications/networking/browsers/chromium/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
, cupsSupport ? true
1717
, pulseSupport ? config.pulseaudio or stdenv.isLinux
1818
, commandLineArgs ? ""
19+
, pkgsBuildTarget
1920
}:
2021

2122
let
22-
llvmPackages = llvmPackages_16;
23+
llvmPackages = pkgsBuildTarget.llvmPackages_16;
2324
stdenv = llvmPackages.stdenv;
2425

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

0 commit comments

Comments
 (0)