Commit 0ea6332d authored by Valentin Reis's avatar Valentin Reis
Browse files

verbose env printing.

parent b63572ee
Pipeline #7300 passed with stages
in 41 seconds
......@@ -188,7 +188,7 @@ setupSystem target sa = do
passVars <- getVars ["PATH", "NIX_PATH", "NIX_SSL_CERT_FILE"]
let envVars =
[("XDG_CACHE_HOME", varXDG_CACHE_HOME), ("TMPDIR", varTMPDIR)]
[("XDG_CACHE_HOME", varXDG_CACHE_HOME), ("TMPDIR", varTMPDIR),("NIX_REMOTE","")]
++ passVars
nodeosVar <- if isTarget target
......@@ -263,6 +263,7 @@ wrap nixCommand target sa@ArgsCommon {..} = do
(envVars, tmpDir) <- setupSystem
(if nixCommand == NixTest then "testGeneric" else target)
sa
when (verbosity == Verbose) $ print envVars
case nixCommand of
NixShell ->
executeFile (toS nixc) True (fmap toS arglist) (Just $ evC envVars)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment