busybox: add patch to allow cross in llvm

Fixes #57670

$ nix build -f. --arg crossSystem '{ config = "aarch64-unknown-linux-musl"; useLLVM = true; }' busybox
This commit is contained in:
Matthew Bauer
2019-04-14 22:03:33 -04:00
parent ef54604ce4
commit 3bf69b1e40
2 changed files with 38 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
patches = [
./busybox-in-store.patch
];
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.targetPlatform) ./clang-cross.patch;
postPatch = "patchShebangs .";