From 8ff5265f779539ca53420f8db89927d7e03d5de3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 May 2019 01:25:24 -0300 Subject: Suppress output of docker-compose config This derivation sources =.envrc= and it's output can potentially leak secret environment variables from it. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index c110c7c..c6d6179 100644 --- a/default.nix +++ b/default.nix @@ -61,7 +61,7 @@ with pkgs.stdenv; rec { buildInputs = baseAttrs.buildInputs ++ [ docker-compose ]; buildPhase = '' source .envrc - docker-compose config || { + docker-compose config &> /dev/null || { echo "Invalid docker-compose.yml file." exit 1 } -- cgit v1.2.3