summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--shell.nix3
2 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79f903a..1e08206 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,8 +7,7 @@ build:
script:
- export NIX_PATH=nixpkgs=channel:nixos-unstable
- - nix-shell
- - make build
+ - nix-shell && make build
artifacts:
paths:
diff --git a/shell.nix b/shell.nix
index 53e947c..b43bd1e 100644
--- a/shell.nix
+++ b/shell.nix
@@ -7,7 +7,6 @@ mkShell rec {
name = "android-shell";
buildInputs = [
- sudo
gnumake
jdk
android-composition.androidsdk
@@ -21,6 +20,6 @@ mkShell rec {
shellHook = ''
# TODO: replace with nix builtins
- sudo python ./nix/android-shell-shellHook.py ${ANDROID_HOME}/build-tools ${ANDROID_HOME}/platforms
+ python ./nix/android-shell-shellHook.py ${ANDROID_HOME}/build-tools ${ANDROID_HOME}/platforms
'';
}