<Sonarpulse>
bgamari: ah there is a try-eval in splice.nix
<Sonarpulse>
I don't think its good enough
<bgamari>
hmm
* bgamari
looks up the semantics of tryEval
<bgamari>
huh, it's undocumented
<bgamari>
how mysterious
<bgamari>
well, I guess it's obvious enough
<Sonarpulse>
bgamari: so I asssume that the default value fails
<Sonarpulse>
if anything spliced fails
<Sonarpulse>
but here only the native one fails
<Sonarpulse>
best to just get rid of that assumption
<Sonarpulse>
so make all the spliced values fallback on {} if eval fails
<Sonarpulse>
({} being the union identity)
<bgamari>
right
<Sonarpulse>
but to be really fancy
<Sonarpulse>
actually not all values
<Sonarpulse>
bgamari: hmm i am a bit hazy now
<Sonarpulse>
splicing with divergence is very odd
<bgamari>
yes, this all seems quite fairly subtle
<Sonarpulse>
the convenient thing of a diverging value with mayb-converging splice fields isn't so avaible
<Sonarpulse>
a workaround
<Sonarpulse>
is callPackage ({ pkgs }: pkgs.glibcCross) {}
<Sonarpulse>
that should be fine?
<bgamari>
perhaps?
<bgamari>
the reference is going away anyways
<bgamari>
seems to work
<Sonarpulse>
bgamari: fixed
<bgamari>
now I just need to figure out the crti.o issue that my branch introduced in the gcc expression
<Sonarpulse>
bgamari: the value* shouldn't have "or {}" definitions
<bgamari>
ahh
<Sonarpulse>
instead getOutputs should have a try-eval
<Sonarpulse>
the or {} was like half-assed try eval
<bgamari>
try
<bgamari>
right
<Sonarpulse>
for actually making the splice attrs
<Sonarpulse>
we never hit the the missing key case
<Sonarpulse>
cause the optional
<Sonarpulse>
so the `or {}` was super misleading
<Sonarpulse>
for outputs the splice *function* (rather than extra attrs binding operation) does have {} as identity
<Sonarpulse>
and so then, and only then, should the {} fallback be used for sake of any non-diverging attrs
laggy_wifi has joined joined #nixos-dev
* bgamari
bisects his regression
<laggy_wifi>
hai
phreedom has quit [(Remote host closed the connection)]
laggy_wifi_ has joined joined #nixos-dev
laggy_wifi has quit [(Read error: Connection reset by peer)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined joined #nixos-dev
orivej has quit [(Ping timeout: 248 seconds)]
<disasm>
sorry I haven't been around much... work and life kinda got in the way. I have an annual review at work next week and one of my asks I put on the self assessment was 5-10 hours a week to work on improving nixos, so hopefully that gets approved.
hl has quit [(Ping timeout: 245 seconds)]
pstn has quit [(Ping timeout: 240 seconds)]
moredread[m] has quit [(Ping timeout: 257 seconds)]
florianjacob has quit [(Ping timeout: 257 seconds)]
nocent has quit [(Ping timeout: 252 seconds)]
olejorgenb[m] has quit [(Ping timeout: 252 seconds)]
peterhoeg has quit [(Ping timeout: 240 seconds)]
sphalerite has quit [(Ping timeout: 240 seconds)]
rycee has quit [(Ping timeout: 255 seconds)]
hedning[m] has quit [(Ping timeout: 255 seconds)]
adisbladis[m] has quit [(Ping timeout: 251 seconds)]
stites[m] has quit [(Ping timeout: 250 seconds)]
copumpkin has quit [(Ping timeout: 264 seconds)]
mbrgm has joined joined #nixos-dev
infinisil has joined joined #nixos-dev
pbogdan has joined joined #nixos-dev
shlevy has joined joined #nixos-dev
Nadrieril has joined joined #nixos-dev
aszlig has joined joined #nixos-dev
andi- has joined joined #nixos-dev
mingc has joined joined #nixos-dev
Profpatsch has joined joined #nixos-dev
GlennS has joined joined #nixos-dev
mbrgm is now known as Guest63896
dtzWill has joined joined #nixos-dev
hiberno has joined joined #nixos-dev
stqism has joined joined #nixos-dev
MoreTea has joined joined #nixos-dev
yorick has joined joined #nixos-dev
clever has joined joined #nixos-dev
rsa has joined joined #nixos-dev
aminechikhaoui has joined joined #nixos-dev
layus has joined joined #nixos-dev
capisce has joined joined #nixos-dev
Guest63896 has quit [(Ping timeout: 240 seconds)]
mbrgm_ has joined joined #nixos-dev
laggy_wifi_ has joined joined #nixos-dev
adisbladis has joined joined #nixos-dev
{^_^} has joined joined #nixos-dev
mbrgm_ is now known as mbrgm
FRidh[m] has joined joined #nixos-dev
hedning[m] has joined joined #nixos-dev
pstn has joined joined #nixos-dev
<fpletz>
disasm: same :)
orivej has joined joined #nixos-dev
FRidh[m] has quit [(Remote host closed the connection)]
pstn has quit [(Read error: Connection reset by peer)]
hedning[m] has quit [(Read error: Connection reset by peer)]
florianjacob has joined joined #nixos-dev
florianjacob has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
florianjacob has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
hedning[m] has joined joined #nixos-dev
regnat[m] has joined joined #nixos-dev
sphalerite has joined joined #nixos-dev
grahamc has joined joined #nixos-dev
olejorgenb[m] has joined joined #nixos-dev
hl has joined joined #nixos-dev
stites[m] has joined joined #nixos-dev
nocent has joined joined #nixos-dev
pstn has joined joined #nixos-dev
copumpkin has joined joined #nixos-dev
adisbladis[m] has joined joined #nixos-dev
peterhoeg has joined joined #nixos-dev
rycee has joined joined #nixos-dev
FRidh[m] has joined joined #nixos-dev
moredread[m] has joined joined #nixos-dev
orivej has quit [(Ping timeout: 255 seconds)]
<LnL>
niksnut: are you planning to replace the build hooks with something that talks the worker protocol or do you want to get rid of them completely?