mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
chromium: don't use pkgsBuildTarget
I'm pretty sure this was a mistake — in Nixpkgs the target platform is
the platform that the program being built should output executables
for — i.e., it's only relevant for a compiler, which Chromium is not.
Tested that cross-compilation of Electron still works.
(cherry picked from commit a269b980e9)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
, buildPackages
|
||||
, buildPlatform
|
||||
, pkgsBuildBuild
|
||||
, pkgsBuildTarget
|
||||
# Channel data:
|
||||
, channel, upstream-info
|
||||
# Helper functions:
|
||||
@@ -384,8 +383,8 @@ let
|
||||
llvmCcAndBintools = symlinkJoin {
|
||||
name = "llvmCcAndBintools";
|
||||
paths = [
|
||||
pkgsBuildTarget.${llvmPackages_attrName}.llvm
|
||||
pkgsBuildTarget.${llvmPackages_attrName}.stdenv.cc
|
||||
buildPackages.${llvmPackages_attrName}.llvm
|
||||
buildPackages.${llvmPackages_attrName}.stdenv.cc
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user