Created
December 22, 2021 01:47
-
-
Save danielfullmer/5f959d8f42c7a916b597ab95d8a414a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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