diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/default.nix b/default.nix index afbb8d1..c110c7c 100644 --- a/default.nix +++ b/default.nix @@ -14,7 +14,7 @@ let name = "vps-task"; src = rootSrc; phases = "unpackPhase buildPhase"; - buildInputs = [ ]; + buildInputs = [ pkgs.gitMinimal ]; buildPhase = '' echo "ERROR: base task buildPhase not overriden." exit 1 @@ -60,6 +60,7 @@ with pkgs.stdenv; rec { name = "${baseAttrs.name}-docker-compose-lint"; buildInputs = baseAttrs.buildInputs ++ [ docker-compose ]; buildPhase = '' + source .envrc docker-compose config || { echo "Invalid docker-compose.yml file." exit 1 |