Skip to content

Instantly share code, notes, and snippets.

@danielfullmer
Created October 11, 2023 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielfullmer/480ded098cbe66f25e3974c8bf749f93 to your computer and use it in GitHub Desktop.
Save danielfullmer/480ded098cbe66f25e3974c8bf749f93 to your computer and use it in GitHub Desktop.
let
robotnix = (import ./default.nix {
configuration = {
device = "arm64";
flavor = "vanilla";
};
});
in (robotnix.config.build.mkAndroid {
name = "libc";
makeTargets = [ "libc" ];
installPhase = ''
mkdir -p $out
cp out/target/product/generic_arm64/obj/SHARED_LIBRARIES/libc_intermediates/libc.so $out/
cp out/target/product/generic_arm64/obj/STATIC_LIBRARIES/libc_intermediates/libc.a $out/
'';
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment