Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argonix
Commits
e777c043
Commit
e777c043
authored
Mar 01, 2019
by
Valentin Reis
Browse files
print env vars when running nix-build commands.
parent
4f26826d
Pipeline
#5759
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
e777c043
...
...
@@ -324,6 +324,8 @@ wrap nixCommand target sa@ArgsCommon {..} = sh $ do
when
(
verbosity
==
Verbose
)
$
liftIO
$
print
sa
_
<-
setupSystem
sa
printCommand
$
pack
nixc
<>
" "
<>
pack
(
unwords
arglist
)
void
$
shell
"echo
\"
TMPDIR=$TMPDIR
\"
"
empty
void
$
shell
"echo
\"
XDG_CACHE_HOME=$XDG_CACHE_HOME
\"
"
empty
liftIO
(
executeFile
nixc
True
arglist
Nothing
)
where
nixc
=
toCommand
nixCommand
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment