matthewbauer has quit [Remote host closed the connection]
orivej has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
Drakonis has joined #nixos-dev
Drakonis has quit [Remote host closed the connection]
Sonarpulse has joined #nixos-dev
Sonarpulse has quit [Ping timeout: 245 seconds]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-dev
{^_^} has joined #nixos-dev
tv1 has joined #nixos-dev
tv2 has joined #nixos-dev
tv has quit [Ping timeout: 240 seconds]
tv1 has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
julm has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-dev
<zimbatm>
anyone remembers why IFD is disabled on Hydra?
<ikwildrpepper>
IFD?
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-dev
<andi->
import from derivation (IIRC)
averell has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos-dev
averell has joined #nixos-dev
<ghuntley>
working on a nixos bring-up on windows subsystem for linux
<ghuntley>
(i.e. nixos in the windows app store along side ubuntu)
averell has quit [Ping timeout: 245 seconds]
<niksnut>
strictly speaking, IFD is not disabled on hydra
<niksnut>
that's a common misconception, but it's probably a good thing if people believe that ;-)
averell has joined #nixos-dev
<LnL>
well the sources have to be whitelisted so it won't work on the nixos.org instance, right?
<ghuntley>
let's say I get a bring up of nixos on windows (ie wsl) - who would be the best person for me to pair with within #nixos-dev to make this an official thing (tm) ie ci and everything.
* gchristensen
waves to ghuntley
<gchristensen>
ofborg blocks ifd too
<gchristensen>
ghuntley: I can't find you on twitter b/c your nickname is all fancy fonts :')
<gchristensen>
ofborg blocks IFD because untrusted PRs are evaluated
<ghuntley>
I need to do some reading through nixpkg/nixos to understand how `/run/current-system` and nixstore internals functions. Retiring for the night.
<gchristensen>
way to go, that is super cool
jtojnar has quit [Ping timeout: 264 seconds]
<pie_>
is there any chance syntax like networking.{hostName = ...; somethingelse = ...} could be added? basically i want to group some stuff but obviously you cant do someset = {....} twice
<pie_>
mainly an aesthetic thing i guess
jtojnar has joined #nixos-dev
<gchristensen>
it would make validation a bit trickier, and maybe confusing for newbies, I think
<pie_>
i cant really argue for it either way but i think it would be nice?
<pie_>
why would it be confusing? (although you could say nix has enough of a learning curve already so who cares? :PP)
<manveru>
you can do `networking = { hostName = ...; } // { somethingelse = ... };`
<pie_>
"basically" its just merging a.b = x; a.c = y; into a.{b=x; c=y};
<pie_>
manveru, the issue it if you want to add more stuff to networking in another section?
<gchristensen>
yeah but what if I also have a = { b = "foo"; };
<pie_>
since youve already assigned to it you cant
<pie_>
i suppose it could be an issue for typos if you forget to add a name or something but i think we have linting for nonexistent attributes and such?
<pie_>
gchristensen, i dont know, what are the implications?
<gchristensen>
its an error
<gchristensen>
I guess I like that right now you have to choose either the a = { b = ... } option, _or_ the a.b = ... option
<pie_>
why is it an error
<gchristensen>
because you can't redefine a.b
<pie_>
oh yeah
<pie_>
thats fine i think
<pie_>
its already an error as it is right now to try to redefine an attribute no? i think that makes sense.
<pie_>
this would only be for disjunct sets
<pie_>
syntactic sugar
<pie_>
manveru, does that work if networking is already defined?
<manveru>
if it's in a different import
<manveru>
attrsets cannot have the same key twice
<manveru>
if you group your stuff anyway, you can as well split them into files ;)
<pie_>
ehhh, kind of
<manveru>
i mean, don't get me wrong, i like your idea, but i don't think it's useful enough to warrant a change to the language...
<matthewbauer>
Does anyone know why the "libcxx" thing is always needed on macOS but not linux? See: https://github.com/NixOS/nixpkgs/pull/42074/files. We hit it fairly frequently when building c++ programs.
<gchristensen>
I was just asking LnL about that
<matthewbauer>
yeah it might be an LLVM vs GCC thing?
<matthewbauer>
but it could also be some apple weirdness
<acowley>
Those paths are the worst
<LnL>
some versions of python use $CC/cc for everything, even c++ code
<LnL>
but I thought we fixed that a while back
<matthewbauer>
ok that makes sense - so if they used clang++ it would work correctly?
<LnL>
yeah, exactly
<matthewbauer>
i think it is fairly common to do because it GCC handles it fine
<LnL>
I'll try to find the patch and see what's going on there