<{^_^}>
#101416 (by endocrimes, 16 hours ago, open): tailscale: Include version in build flags
<endocrimes>
(already got a couple of approves, otherwise I wouldn't ping)
<gchristensen>
thanks endocrimes!
<endocrimes>
gchristensen: thank _you_!
<endocrimes>
https://github.com/NixOS/nixpkgs/pull/101470 - Fixes the perforce package (also I'm so sad I need this on multiple machines rn so can't just live with a local patch lol)
<endocrimes>
_has regrets about going to work for a megacorp_
<gchristensen>
aye that can have a very specific set of tradeoffs
alp has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
johnny101 has quit [Ping timeout: 258 seconds]
<thoughtpolice>
Here's something kind of fun that I've wanted before in the past, and got the excuse to write up for $WORK: https://narinfo2json.edgecompute.app/
<hexa->
Psst... A new binary cache is coming — try it now!
<hexa->
does not compute
<hexa->
s/compute/resolve/
<thoughtpolice>
hexa-: lol fixed, ty
<hexa->
yay
avn has joined #nixos-dev
<cransom>
i clicked a pi. have i entered the net yet? where's cyber bob.
zowoq[m] has quit [Ping timeout: 246 seconds]
alp has joined #nixos-dev
itc-ger has joined #nixos-dev
zowoq[m] has joined #nixos-dev
itc-ger has quit [Quit: Leaving]
disasm has quit [Read error: Connection reset by peer]
disasm has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
johnny101 has joined #nixos-dev
cole-h has joined #nixos-dev
__monty__ has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
jared-w_ has joined #nixos-dev
aria_ has joined #nixos-dev
gleber_ has joined #nixos-dev
alunduil_ has joined #nixos-dev
thoughtpolice_ has joined #nixos-dev
cstrahan_ has joined #nixos-dev
Valodim- has joined #nixos-dev
drakonis has quit [Ping timeout: 260 seconds]
aminechikhaoui has quit [Ping timeout: 240 seconds]
lopsided98_ has joined #nixos-dev
weechat_2 has joined #nixos-dev
bk1603[m]1 has joined #nixos-dev
treed[m] has quit [*.net *.split]
bk1603[m] has quit [*.net *.split]
aanderse has quit [*.net *.split]
ryantm has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
colemickens has quit [*.net *.split]
gleber has quit [*.net *.split]
aria has quit [*.net *.split]
jared-w has quit [*.net *.split]
alunduil has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
cstrahan has quit [*.net *.split]
mingc has quit [*.net *.split]
etu has quit [*.net *.split]
Valodim has quit [*.net *.split]
Valodim- is now known as Valodim
gleber_ is now known as gleber
alunduil_ is now known as alunduil
jared-w_ is now known as jared-w
aria_ is now known as aria
thoughtpolice_ is now known as thoughtpolice
cstrahan_ is now known as cstrahan
etu has joined #nixos-dev
ryantm has joined #nixos-dev
treed[m] has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
aanderse has joined #nixos-dev
colemickens has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
drakonis has joined #nixos-dev
samueldr_ is now known as samueldr
samueldr has joined #nixos-dev
samueldr has quit [Changing host]
MichaelRaskin has joined #nixos-dev
<samueldr>
ugh, it's a bit painful when freenode reconnects you
<samueldr>
its nickserv identification at server connect is not instant, so your channel rejoins can happen when you're not +R'd yet
<samueldr>
oops, one channel wrong offset
<drakonis>
you can use sasl to avoid that
<drakonis>
hmm
marek has joined #nixos-dev
marek has quit [Changing host]
alp has joined #nixos-dev
orivej has joined #nixos-dev
<aminechikhaoui>
can be discarded."
<aminechikhaoui>
in NixOS 20.03 I wonder if this was really necessary "The stdenv now runs all bash with set -u, to catch the use of undefined variables. Before, it itself used set -u but was careful to unset it so other packages' code ran as before. Now, all bash code is held to the same high standard, and the rather complex stateful manipulation of the options
<aminechikhaoui>
it broke all out of tree pkgs but was it worth breaking stuff that worked before
<aminechikhaoui>
well not all pkgs I guess but all expressions that didn't have that much strict checks with set -u
THFKA4 has left #nixos-dev ["WeeChat 2.9"]
ris has joined #nixos-dev
NinjaTrappeur has quit [Ping timeout: 260 seconds]
<gchristensen>
also the notion of a "trusted" builder which was not enabled by default, similar to trusted substituters which can be enabled by calling users
<cransom>
hrm. i like that too.
alp has quit [Ping timeout: 272 seconds]
<gchristensen>
I want to teach nix-daemon about service discovery
orivej has quit [Ping timeout: 260 seconds]
asymmetric has quit [Ping timeout: 246 seconds]
garbas has quit [Ping timeout: 256 seconds]
garbas has joined #nixos-dev
stoile has quit [Ping timeout: 265 seconds]
asymmetric has joined #nixos-dev
stoile has joined #nixos-dev
atriq has joined #nixos-dev
alp has joined #nixos-dev
NinjaTrappeur has joined #nixos-dev
aminechikhaoui has quit [*.net *.split]
cransom has quit [*.net *.split]
mkaito- has quit [*.net *.split]
clever has quit [*.net *.split]
Taneb has quit [*.net *.split]
AtnNn has quit [*.net *.split]
pbogdan has quit [*.net *.split]
mkaito- has joined #nixos-dev
cransom has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
clever has joined #nixos-dev
pbogdan has joined #nixos-dev
AtnNn has joined #nixos-dev
<jtojnar>
aminechikhaoui: it only broke packages that were probably also broken, and allowed us to simplify stdenv a lot
<aminechikhaoui>
jtojnar I guess I can't argue with simplifying stdenv but nothing really broken with a script that does if [[ -z "$TEST" ]];then export TEST=foo;fi
<aminechikhaoui>
if stdenv was getting too complicated then maybe that's just needed, I was just curious if it was worth breaking out of tree packages
<gchristensen>
ouch
<jtojnar>
yeah, that is unfortunate, hopefully most people these days use shellcheck and write defensive bash so not many people will be affected
<qyliss>
I don't think there's much we can do about out-of-tree packages
<qyliss>
We can't see them, so can't really keep compatibility...
<jtojnar>
did not see anyone reporting issues about it so hopefully it was not that big of a deal
<jtojnar>
and I can say I was bitten by the old behaviour, where I expected stdenv to catch my error but because of set +u, it gave me false confidence
kalbasit_ has joined #nixos-dev
<aminechikhaoui>
qyliss that kind of statements makes the assumption that everything lives in nixpkgs which is just not the case. We can't just say we can do nothing about out of tree packages, I think especially for stdenv we should try to minimize breaking things whenever possible.
<aminechikhaoui>
But don't get me wrong folks I'm not trying to blame or say this is wrong :-) I'm well aware that it's more correct but just bringing up that this kind of changes might be avoided or thought about more at least to make upgrades for companies that have a large number of packages easier and smooth.
<jtojnar>
yeah, unfortunately bash makes these kinds of shims impossible or, in this case, have them cause more issues for nixpkgs than their worth
<qyliss>
Something I would like to see is a way to run shellcheck on runCommands and stuff
<qyliss>
outside of a bootstrap path, this could even be made the default at some point, especially in nixpkgs
<gchristensen>
qyliss: I've been playing with making a shellcheck wrapper to work on `drv`s so it could be slipped in as a pre-build-hook
<samueldr>
uh
<samueldr>
I did that at one point, in a really hacky way
<samueldr>
it gave sensible results, but not actionable because it didn't map back into the expressions
<samueldr>
I'm not saying it's the way to go, but it's _one_ approach, and you can see what pitfalls there are with it :)
<gchristensen>
ah
<samueldr>
since it's been now 1.5 years, I don't remember much about the implementation :)
alp has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
globin has quit [Ping timeout: 264 seconds]
globin has joined #nixos-dev
<andi->
Does anyone have the eval error of hydra for master on the radar? `error: [json.exception.type_error.302] type must be string, but is null` Not entirely sure how to test this since it just produces a list of strings/json
<samueldr>
:\ this again?
<samueldr>
last time that error popped-up, I looked at it through strace to see if it helped locate where it came from and nope
<samueldr>
it's not like when the hydra evaluator eats an error message without transmitting it back