File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -55,4 +55,20 @@ final: prev: {
55
55
# We also link iserv against the static libs, so that we have a fully static
56
56
# android (bionic/linux) iserv we can execute on glibc/linux.
57
57
bionic = prev . bionic . override { enableStatic = true ; enableShared = true ; } ;
58
- } )
58
+ } ) //
59
+ # See https://github.com/NixOS/nixpkgs/pull/385722
60
+ builtins . mapAttrs ( name : ndkPkg : ndkPkg // {
61
+ clang = ndkPkg . clang . override ( oldAttrs : prev . lib . optionalAttrs ( oldAttrs ? extraBuildCommands ) {
62
+ extraBuildCommands = builtins . replaceStrings [ "-target arm-linux-androideabi" ] [ "-target armv7a-linux-androideabi" ] oldAttrs . extraBuildCommands ;
63
+ } ) ;
64
+ } ) {
65
+ inherit ( prev )
66
+ androidndkPkgs
67
+ androidndkPkgs_21
68
+ androidndkPkgs_23
69
+ androidndkPkgs_23b
70
+ androidndkPkgs_24
71
+ androidndkPkgs_25
72
+ androidndkPkgs_26
73
+ androidndkPkgs_30 ;
74
+ }
You can’t perform that action at this time.
0 commit comments