Merge pull request #66419 from takeda/busybox

busybox: apply clang-cross patch when host is different than build system.
This commit is contained in:
Matthew Bauer 2019-08-10 20:18:18 -04:00 committed by GitHub
commit 4557b9f1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
patches = [
./busybox-in-store.patch
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.targetPlatform) ./clang-cross.patch;
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
postPatch = "patchShebangs .";