aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-10 12:15:49 -0300
committerEuAndreh <eu@euandre.org>2020-08-10 12:45:43 -0300
commit100ab568e3aeb512e86fd1155a73454d22e24895 (patch)
tree1d7ff9168b8cfc60e173f2a19f30938bc68d0f6e /default.nix
parentWIP: Move to Vultr and NixOS (diff)
downloadserver-100ab568e3aeb512e86fd1155a73454d22e24895.tar.gz
server-100ab568e3aeb512e86fd1155a73454d22e24895.tar.xz
Migration: Remove Ansible and Docker code, move only to NixOS
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/default.nix b/default.nix
index 171a3a9..7078a01 100644
--- a/default.nix
+++ b/default.nix
@@ -18,20 +18,6 @@ in rec {
touch $out
'';
});
- dockerComposeLint = utils.baseTask.overrideAttrs (baseAttrs: {
- name = "${baseAttrs.name}-docker-compose-lint";
- buildInputs = baseAttrs.buildInputs ++ [ pkgs.docker-compose ];
- buildPhase = ''
- source .envrc
- # =docker-compose config= doesn't accept files with different names
- cp docker-compose.env.yaml docker-compose.yaml
- docker-compose config &> /dev/null || {
- echo "Invalid docker-compose.yml file."
- exit 1
- }
- touch $out
- '';
- });
shellBuildInputs = with pkgs; [
file
gitMinimal
@@ -48,7 +34,6 @@ in rec {
(utils.shellEnvironmentBuild subtasks.shellBuildInputs)
utils.formatNix
subtasks.formatTerraform
- subtasks.dockerComposeLint
];
shell = utils.shellEnvironment subtasks.shellBuildInputs;
}