mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 06:03:20 +00:00
fix environment variables
This commit is contained in:
parent
58b3c08b9f
commit
74b52b317b
|
@ -6,13 +6,13 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- nix-shell --pure --run "flutter build apk --split-per-abi"
|
- 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
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
- scp build/app/outputs/apk/release/*.apk 10.0.0.3:/var/lib/fdroid/repo
|
- 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:
|
node:
|
||||||
server: builder
|
server: builder
|
||||||
|
|
|
@ -9,7 +9,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
ANDROID_HOME= "${androidComposition.androidsdk}/libexec/android-sdk";
|
ANDROID_HOME = "${androidComposition.androidsdk}/libexec/android-sdk";
|
||||||
ANDROID_SDK_ROOT = "${androidComposition.androidsdk}/libexec/android-sdk";
|
ANDROID_SDK_ROOT = "${androidComposition.androidsdk}/libexec/android-sdk";
|
||||||
nativeBuildInputs = with pkgs; [ flutter openjdk11_headless ];
|
nativeBuildInputs = with pkgs; [ flutter openjdk11_headless ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue