aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-26 19:51:23 -0300
committerEuAndreh <eu@euandre.org>2019-05-26 19:51:23 -0300
commit3595d2518eeae4674fa2b500244951435165a393 (patch)
tree16e3765a1d6bda65717beb5ea07316d582fe24de /default.nix
parentTODOs.org (diff)
downloadserver-3595d2518eeae4674fa2b500244951435165a393.tar.gz
server-3595d2518eeae4674fa2b500244951435165a393.tar.xz
Use nix-shell --pure to run scripts
Instead of adding them to the =packages= section of .build.yml.
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 08568b2..04a9298 100644
--- a/default.nix
+++ b/default.nix
@@ -94,9 +94,15 @@ with pkgs.stdenv; rec {
touch $out
'';
});
- # Used in .build.yml to run ./provision.sh
+ # Used in .build.yml to run Bash scripts
shell = mkShell rec {
name = "vps-shell";
- buildInputs = [ terraform terraform-providers.digitalocean git-crypt ];
+ buildInputs = [
+ gitMinimal
+ git-crypt
+ gettext
+ terraform
+ terraform-providers.digitalocean
+ ];
};
}