diff --git a/.drone.yml b/.drone.yml index 35ee1961..135e6378 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,13 +6,13 @@ steps: - name: build commands: - nix-shell --pure --run "flutter build apk --split-per-abi" + environment: + NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:unstable=/nix/var/nix/profiles/per-user/root/channels/unstable" + NIXPKGS_ALLOW_UNFREE: 1 + - name: deploy commands: - scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo -environment: - NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:unstable=/nix/var/nix/profiles/per-user/root/channels/unstable" - NIXPKGS_ALLOW_UNFREE: 1 - node: server: builder diff --git a/shell.nix b/shell.nix index 6ff05a0d..da57151a 100644 --- a/shell.nix +++ b/shell.nix @@ -9,7 +9,7 @@ let }; in pkgs.mkShell { - ANDROID_HOME= "${androidComposition.androidsdk}/libexec/android-sdk"; + ANDROID_HOME = "${androidComposition.androidsdk}/libexec/android-sdk"; ANDROID_SDK_ROOT = "${androidComposition.androidsdk}/libexec/android-sdk"; nativeBuildInputs = with pkgs; [ flutter openjdk11_headless ]; }