From df54eb7a925a9dbe69d841c6980ce4e83de1199f Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 31 May 2011 19:30:10 +0000 Subject: [PATCH] A phase that simply saves current exported vars for debugging use svn path=/nixpkgs/trunk/; revision=27338 --- pkgs/build-support/builder-defs/builder-defs.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/builder-defs/builder-defs.nix b/pkgs/build-support/builder-defs/builder-defs.nix index 60b1f98e33fd..279c99bd4b5a 100644 --- a/pkgs/build-support/builder-defs/builder-defs.nix +++ b/pkgs/build-support/builder-defs/builder-defs.nix @@ -335,6 +335,8 @@ let inherit (builtins) head tail trace; in doDump = n: noDepEntry "echo Dump number ${n}; set"; + saveEnv = noDepEntry ''export > $TMP/env-vars''; + doDumpBuildInputs = noDepEntry ('' echo "${toString realBuildInputs}" '');