mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-27 01:44:41 +03:00
android-headers: inits at 23.
This commit is contained in:
parent
44ab8fe3ed
commit
c6c8eb9f18
27
overlay/android-headers/default.nix
Normal file
27
overlay/android-headers/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
stdenvNoCC
|
||||
, fetchgit
|
||||
}:
|
||||
|
||||
let
|
||||
version = "23";
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit version;
|
||||
name = "android-headers";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://git.launchpad.net/android-headers;
|
||||
rev = "957ab6e28aea03d0cf6495f33ade9ddfff480ccc";
|
||||
sha256 = "1ma872lq46qqpfvc3x9hlcs28w7vbaaf6k5p9v114h92qsza3cm0";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include/
|
||||
cp -prf ${version} $out/include/android
|
||||
(
|
||||
cd $out/include
|
||||
ln -s android android-${version}
|
||||
)
|
||||
'';
|
||||
}
|
@ -6,6 +6,7 @@ in
|
||||
{
|
||||
# Misc. tools.
|
||||
# Keep sorted.
|
||||
android-headers = callPackage ./android-headers { };
|
||||
dtbTool = callPackage ./dtbtool { };
|
||||
hard-reboot = callPackage ./misc/hard-reboot.nix { };
|
||||
mkbootimg = callPackage ./mkbootimg { };
|
||||
|
Loading…
Reference in New Issue
Block a user