mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
parent
94bf554ee9
commit
c33e249719
1 changed files with 6 additions and 0 deletions
|
|
@ -101,6 +101,12 @@ function doOnDeviceTest() {
|
|||
}
|
||||
|
||||
function doSwitch() {
|
||||
if [[ -e "$HOME/.config/nix-on-droid/flake.nix" && -z "${FLAKE_CONFIG_URI}" ]]; then
|
||||
echo -n '~/.config/nix-on-droid/flake.nix exists, '
|
||||
echo -n "you might've intended to run "
|
||||
echo '`nix-on-droid switch --flake ~/.config/nix-on-droid`'
|
||||
fi
|
||||
|
||||
echo "Building activation package..."
|
||||
nixActivationPackage build --no-link
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue