Skip to content

Commit

Permalink
Update android.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Nov 29, 2022
1 parent 503dd07 commit f426222
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion overlays/android.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({
hardeningDisable = [ "fortify" "stackprotector" "format" ];
configureFlags = old.configureFlags ++ [ "--disable-shared" ];
});
zlib = prev.zlib.override { shared = false; static = true; };

numactl = (prev.numactl.overrideAttrs (attrs: {
patches = attrs.patches + [ ./patches/numactl-2.0.14-no-librt.patch ];
});

zlib = prev.zlib.override { shared = false; static = true; };

}) // prev.lib.optionalAttrs prev.stdenv.targetPlatform.isAndroid ({
# we still need the shared libraries to link against on the platform. GHC
# has been neutered to not even try loading shared libs and will use dynamic ones.
Expand Down

0 comments on commit f426222

Please sign in to comment.