mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
fix environment variables
This commit is contained in:
parent
58b3c08b9f
commit
74b52b317b
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue