Merge pull request #66419 from takeda/busybox
busybox: apply clang-cross patch when host is different than build system.
commit4557b9f1f50aa813ae673fe6fcd30ca872968947
authorMatthew Bauer <mjbauer95@gmail.com>
dateSat 10 Aug 2019, 20:18 (7 years ago)
parent0f91a1f7e7e26e
pkgs/os-specific/linux/busybox/default.nix+1−1
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
4747
4848 patches = [
4949 ./busybox-in-store.patch
50− ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.targetPlatform) ./clang-cross.patch;
50+ ] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
5151
5252 postPatch = "patchShebangs .";
5353