From afaca7a558fda954fcf3c2bda7f18ebb3af4e141 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 12 Nov 2022 20:59:50 +0100 Subject: [PATCH] flake: Remove ANDROID_* from the dev shell --- README.md | 4 ++++ flake.nix | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5268ce1..34cdac5 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ if a DNS implementation is given, and supports StartTLS. To begin, use [melos](https://github.com/invertase/melos) to bootstrap the project: `melos bootstrap`. Then, the example can be run with `flutter run` on Linux or Android. +To run the example, make sure that Flutter is correctly set up and working. If you use +the development shell provided by the NixOS Flake, ensure that `ANDROID_HOME` and +`ANDROID_AVD_HOME` are pointing to the correct directories. + ## License See `./LICENSE`. diff --git a/flake.nix b/flake.nix index 501da86..14ec4a0 100644 --- a/flake.nix +++ b/flake.nix @@ -58,9 +58,7 @@ CPATH = "${pkgs.xorg.libX11.dev}/include:${pkgs.xorg.xorgproto}/include"; LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ atk cairo epoxy gdk-pixbuf glib gtk3 harfbuzz pango ]; - ANDROID_HOME = (toString ./.) + "/.android/sdk"; JAVA_HOME = pinnedJDK; - ANDROID_AVD_HOME = (toString ./.) + "/.android/avd"; }; }); }