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
a47caa67
Commit
a47caa67
authored
Mar 01, 2019
by
Valentin Reis
Browse files
no-out-link for nodeos build
parent
bae08de9
Pipeline
#5772
passed with stage
in 1 minute and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
a47caa67
...
...
@@ -262,7 +262,7 @@ setupSystem sa = do
doVerbose
$
printCommand
$
"nix-build "
<>
pack
(
unwords
(
nixArguments
"containers"
sa
))
nodeos_config
<-
single
$
inproc
"nix-build"
(
fmap
pack
(
nixArguments
"containers"
sa
))
empty
$
inproc
"nix-build"
(
fmap
pack
(
nixArguments
"containers"
sa
++
[
"--no-out-link"
]
))
empty
doVerbose
$
printInfo
"Checking filesystem attributes on /tmp"
checkFsAttributes
"/tmp"
vshell
"sudo rm -rf /tmp/argo_nodeos_config"
empty
...
...
@@ -292,10 +292,10 @@ setupSystem sa = do
case
toText
path
of
Right
p
->
sh
$
do
shell
(
"chmod 777 "
<>
p
)
empty
>>=
\
case
ExitSuccess
->
printf
(
"Successfully chmod"
%
s
)
p
ExitSuccess
->
printf
(
"Successfully chmod"
%
s
%
"
\n
"
)
p
ExitFailure
_
->
die
"failed at chmod"
shell
(
"ln -s "
<>
p
<>
name
)
empty
>>=
\
case
ExitSuccess
->
printf
(
"Successfully ln -s"
%
s
)
p
ExitSuccess
->
printf
(
"Successfully ln -s"
%
s
%
"
\n
"
)
p
ExitFailure
_
->
die
"failed at ln -s"
export
"TMPDIR"
p
printInfo
$
format
(
"TMPDIR exported to "
%
s
)
p
...
...
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