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}" '');