From 76aeecd439ceccc0bea42fa40bb1312e7ecca20c Mon Sep 17 00:00:00 2001 From: MeexReay Date: Mon, 19 May 2025 02:02:31 +0300 Subject: [PATCH] remove .pmbootstrap dir from shell nix --- .gitignore | 1 - shell.nix | 51 ++++++++++++++++++++++++++------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b8ae2bf..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pmbootstrap/ diff --git a/shell.nix b/shell.nix index 20064bb..42dd5de 100644 --- a/shell.nix +++ b/shell.nix @@ -11,38 +11,39 @@ pkgs.mkShell { ]; shellHook = '' - export PMWORK=$PWD/.pmbootstrap - export PMAPORTS=$PMWORK/cache_git/pmaports - mkdir -p $PMWORK - if [ ! -d $PMAPORTS ]; then - mkdir -p $PMWORK/cache_git - git clone https://gitlab.postmarketos.org/postmarketOS/pmaports.git $PMAPORTS - fi +# export PMWORK=$PWD/.pmbootstrap +# export PMAPORTS=$PMWORK/cache_git/pmaports +# mkdir -p $PMWORK +# if [ ! -d $PMAPORTS ]; then +# mkdir -p $PMWORK/cache_git +# git clone https://gitlab.postmarketos.org/postmarketOS/pmaports.git $PMAPORTS +# fi + source extract-paths.sh if [ ! -L $PMAPORTS/device/testing/linux-xiaomi-angelican ]; then ln -s $PWD/linux-xiaomi-angelican $PMAPORTS/device/testing fi if [ ! -L $PMAPORTS/device/testing/device-xiaomi-angelican ]; then ln -s $PWD/device-xiaomi-angelican $PMAPORTS/device/testing fi - if [ ! -f $PMWORK/pmbootstrap.conf ]; then - cat > $PMWORK/pmbootstrap.conf < $PMWORK/pmbootstrap.conf < $PMWORK/version - fi - alias pmbootstrap="\ - \pmbootstrap \ - --aports $PMAPORTS \ - --work $PMWORK \ - " +# [mirrors] +# EOF +# fi +# if [ ! -f $PMWORK/version ]; then +# echo "8" > $PMWORK/version +# fi +# alias pmbootstrap="\ +# \pmbootstrap \ +# --aports $PMAPORTS \ +# --work $PMWORK \ +# " ''; }