From e3623b05fdc1dce273f2767a00107929f24559b8 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 22 Sep 2020 18:38:25 +0200 Subject: [PATCH] Print the env via stderr --- garlic/stages/envRecord.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/garlic/stages/envRecord.nix b/garlic/stages/envRecord.nix index 4d9a312..352162f 100644 --- a/garlic/stages/envRecord.nix +++ b/garlic/stages/envRecord.nix @@ -7,16 +7,16 @@ }: stdenv.mkDerivation { - name = "argv"; + name = "envRecord"; preferLocalBuild = true; phases = [ "installPhase" ]; installPhase = '' cat > $out <&2 echo ----- ENV BEGIN ------- + >&2 /usr/bin/env + >&2 echo ----- ENV END ------- exec ${program} \''${argv[@]} EOF