diff --git a/dev/default.nix b/dev/default.nix index 8c89484..0fc97d5 100644 --- a/dev/default.nix +++ b/dev/default.nix @@ -280,6 +280,16 @@ libgcc # crtbeginS.o iconv # ??? - i put this here and by the time i went back to remove unecessary packages i forgot why iconv.dev # sys/types.h + + (writeShellScriptBin "init-repositories" '' + if [[ ! -d ".repos/lineageos" ]]; then + mkdir -p ".repos/lineageos" + pushd .repos/lineageos + repo init -u https://github.com/LineageOS/android.git -b lineage-22.1 --git-lfs --no-clone-bundle + repo sync + popd + fi + '') ]; runScript = "zsh"; # personal preference, you could set this to bash instead if you want profile = ''