ma27 has quit [(Ping timeout: 250 seconds)]
ris has quit [(Ping timeout: 252 seconds)]
gchristensen is now known as [^__^]
[^__^] is now known as gchristensen
gchristensen is now known as {^_^}
{^_^} is now known as gchristensene
gchristensene is now known as gchristensen
orivej has quit [(Ping timeout: 276 seconds)]
rsa has joined joined #nixos-dev
mbrgm has quit [(Ping timeout: 252 seconds)]
mbrgm has joined joined #nixos-dev
gchristensen is now known as [O_O]
[O_O] is now known as gchristensen
gchristensen is now known as nix-build
nix-build is now known as gchristenesen
gchristenesen is now known as gchristensen
nix-build has joined joined #nixos-dev
orivej has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 250 seconds)]
ma27 has joined joined #nixos-dev
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined joined #nixos-dev
ris has joined joined #nixos-dev
ma27 has quit [(Quit: WeeChat 1.9.1)]
Sonarpulse has joined joined #nixos-dev
Sonarpulse has quit [(Ping timeout: 252 seconds)]
ma27 has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 260 seconds)]
ma27 has joined joined #nixos-dev
nix-build has quit [(Remote host closed the connection)]
nix-build has joined joined #nixos-dev
nix-build has quit [(Changing host)]
nix-build has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 276 seconds)]
nix-build has quit [(Remote host closed the connection)]
nix-build has joined joined #nixos-dev
nix-build has quit [(Changing host)]
nix-build has joined joined #nixos-dev
<
orivej>
jtojnar: I think yes
JosW has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
goibhniu has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 260 seconds)]
ma27 has joined joined #nixos-dev
romildo has joined joined #nixos-dev
romildo has left #nixos-dev []
ma27 has quit [(Quit: WeeChat 1.9.1)]
gchristensen is now known as {^_^}
{^_^} is now known as gchristensen
nix-build has quit [(Remote host closed the connection)]
{^_^} has joined joined #nixos-dev
phreedom has quit [(Ping timeout: 240 seconds)]
JosW has quit [(Quit: Konversation terminated!)]
phreedom has joined joined #nixos-dev
taktoa has joined joined #nixos-dev
<
simpson>
Basically.
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
Sonarpulse has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
<
Profpatsch>
Is there a nixos-tests command that outputs the stdout of the command to the console?
<
Profpatsch>
->execute() and ->succeed() don’t seem to do that.
<
LnL>
dunno, I usually pipe stuff to logger to see it
<
gchristensen>
it is a bit annoying
<
LnL>
maybe that should happen by default
<
gchristensen>
I've used systemd-cat in the past for this, but even still there is annoying issues with output buffering
Sonarpulse has quit [(Ping timeout: 255 seconds)]
zraexy1 has quit [(Ping timeout: 260 seconds)]
<
Profpatsch>
Hm, okay.
<
Profpatsch>
Should probably output everything by default.
<
gchristensen>
if there is a nice way to fix all output buffering, that'd be pretty great
<
LnL>
that kind of screws up remote store based stuff
ma27 has quit [(Ping timeout: 248 seconds)]
<
Profpatsch>
Uuuuugh
Sonarpulse has joined joined #nixos-dev
<
Profpatsch>
->succeed("") uses strings, so
*that* is piped through to sh(1) again.
<
Profpatsch>
Which goes on to do POSIX-shell word splitting m(
<
Profpatsch>
There’s at least three layers of escaping and strings going on now: nix -> perl -> sh
<
Profpatsch>
m( m( m(
ma27 has joined joined #nixos-dev
taktoa has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 260 seconds)]
ma27 has quit [(Ping timeout: 255 seconds)]
ma27 has joined joined #nixos-dev
<
gchristensen>
I use writeText as early as possible and call those scripts
<
orivej>
LnL: I don't know, but maybe the remote server is supposed to filter out the settings it will not use?
<
LnL>
think I found it, the daemon sends everything instead of overrides to the build hook
<
LnL>
it's probably not supposed to since that includes platform specific stuff like system
orivej has quit [(Ping timeout: 240 seconds)]
ma27 has quit [(Ping timeout: 260 seconds)]