mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #66419 from takeda/busybox
busybox: apply clang-cross patch when host is different than build system.
This commit is contained in:
commit
4557b9f1f5
1 changed files with 1 additions and 1 deletions
|
@ -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 .";
|
||||
|
||||
|
|
Loading…
Reference in a new issue