gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.03 release managers: fpletz and vcunat | https://logs.nix.samueldr.com/nixos-dev
matthewbauer has joined #nixos-dev
jtojnar has quit [Ping timeout: 248 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos-dev
matthewbauer has quit [Ping timeout: 264 seconds]
matthewbauer has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
orivej has quit [Ping timeout: 265 seconds]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos-dev
matthewbauer has quit [Ping timeout: 265 seconds]
jtojnar has joined #nixos-dev
jtojnar has quit [Ping timeout: 248 seconds]
pierron has joined #nixos-dev
pierron is now known as pierron_
peti has quit [Ping timeout: 260 seconds]
peti has joined #nixos-dev
<teto1> any tip on how to run the nix testsuite ? seems like it must be run with enough rights to read /proc. I would like to run a specific test
<LnL> the nix build also runs the tests
isaagar has joined #nixos-dev
Synthetica has joined #nixos-dev
pierron_ has quit [Ping timeout: 240 seconds]
pierron_ has joined #nixos-dev
pierron has joined #nixos-dev
<Synthetica> Could someone merge master into gcc8?
<Synthetica> I have resolved the merge conflicts in https://github.com/Synthetica9/nixpkgs/tree/gcc8-master-merge2, I just don't want to ping 1000 people with a PR
pierron_ has quit [Ping timeout: 248 seconds]
pierron_ has joined #nixos-dev
jtojnar has joined #nixos-dev
pierron has quit [Quit: leaving]
pierron has joined #nixos-dev
pierron_ has quit [Quit: leaving]
<copumpkin> gchristensen: I remember some notification about you asking about a GH issue, but can't find it now. Can you remind me what it was?
<gchristensen> no clue :|
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos-dev
<aminechikhaoui> Folks, is hydra.nixos.org macs running on High Sierra ?
<gchristensen> I think the one prior
__Sander__ has joined #nixos-dev
<aminechikhaoui> gchristensen: and any idea what's the situatio of nix on High Sierra ? :)
<gchristensen> it should work a treat
<gchristensen> my builder runs H.S.
<aminechikhaoui> gchristensen: ok cool thanks, trying to see if it's worth upgrading for our private hydra
<gchristensen> cool
<gchristensen> should be fine :)
* aminechikhaoui inherited MacOS hate from ikwildrpepper
<aminechikhaoui> :D
<gchristensen> oh I have plenty of it
<aminechikhaoui> hehe
rsa_ has joined #nixos-dev
rsa has quit [Ping timeout: 240 seconds]
<gchristensen> anyone want to review a PR I'd like to backport which touches the grub configuration? https://github.com/NixOS/nixpkgs/pull/41486
orivej has joined #nixos-dev
phreedom has quit [Ping timeout: 250 seconds]
<samueldr> gchristensen: trying it on 18.03 on my test machine
<gchristensen> cool!
__Sander__ has quit [Quit: Konversation terminated!]
phreedom has joined #nixos-dev
<niksnut> seeing code like '${if ff ? overrideAttrs then "overrideAttrs" else null} = fdrv: ...' makes me realize Nixpkgs has become one hack piled on top of another
<gchristensen> :$
<niksnut> really, everything in lib/customisation.nix
<gchristensen> the overrides are all weird, and frequently don't work as people expect. I totally agree
<niksnut> otoh, TIL attribute names can be null
<gchristensen> you must be kidding
<niksnut> it causes the attribute to be deleted
<niksnut> e.g. { ${null} = 123; } => {}
<gchristensen> huh
<gchristensen> it'd be a real magic trick if ({ foo = 123; } // { ${null} = 123; }) == {}
<gchristensen> samueldr: any results?
<samueldr> ah, doing it through the normal work day
<samueldr> it should be finished building
<gchristensen> oh cool
orivej has quit [Ping timeout: 260 seconds]
<samueldr> on 18.03 at least (haven't had time to track down) it seems that $font in the perl script is empty even though cfg.conf isn't null (as traced in the lib.optional condition) in the nix file
<gchristensen> cfg.conf?
<samueldr> cfg.font*
<samueldr> I shouldn't write when thinking :)
<samueldr> lib.optional seems to be for lists
<samueldr> using a clumsy if instead of lib.optional seems to work on my end
<gchristensen> oohhh
<gchristensen> nice
<samueldr> I would assume the same holds true for unstable
<gchristensen> you're quite likely right
<gchristensen> testing a new patch
phreedom has quit [Ping timeout: 250 seconds]
<gchristensen> samueldr: how about that
phreedom has joined #nixos-dev
<samueldr> looks right (in the conf
<samueldr> boots with an image and font as expected, now let's try null
<samueldr> builds and boots right
<gchristensen> :) <3 :D
<samueldr> (replied with the gisted diff just in case)
<gchristensen> I'mma merge & backport
<gchristensen> thank you!
<samueldr> in the nixos modules system, is there a precedent for adopting another scripting language than perl (I'm not talking about porting existing modules, but for new modules)
<samueldr> I see there may be two python scripts
<samueldr> oh, only 6 .pl scripts
<gchristensen> I think there is reason to stick to perl for the core modules all systems have in their closure
jtojnar has quit [Read error: Connection reset by peer]
<samueldr> that's what I assumed
<gchristensen> which is, all the other ones are perl, and we care about closure size. ... but that is all I think.
orivej has joined #nixos-dev
jtojnar has joined #nixos-dev
jtojnar has quit [Ping timeout: 245 seconds]
<orivej> that "${null} =" was added in 2016 to implement overrideAttrs, which is a great feature of Nixpkgs: https://github.com/NixOS/nixpkgs/commit/39b64b52ed349bb7b6f26f50013335d76d1605f6
<dtz> neat!
<gchristensen> it would be very cool if filterSource emitted an info line about files / directories which were omitted
<clever> gchristensen: you can sort of do that by just wrapping the function with another "filter" that uses builtins.trace any time the real filter returns false
<gchristensen> that would be a good start
orivej has quit [Ping timeout: 248 seconds]
<gchristensen> yeah so two things about that, though: it would be nice to be able to emit a message once, like "files were filtered, re-run with --show-skipped-files to see which ones` (or something)
<gchristensen> or, not print per-file inside a dir if an entire dir is filtered out
jtojnar has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
jtojnar_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
orivej has joined #nixos-dev
xeji has joined #nixos-dev
<xeji> anyone have a spare mac ? ofborg darwin queue is growing with zero builders online :)
<gchristensen> oh no
<gchristensen> thanks xeji let me kick mine
<xeji> great, thanks
<gchristensen> this old mac is really showing its age
<xeji> maybe we should build a hackintosh farm
<samueldr> linked to the other one you closed ~10 minutes ago :)
<samueldr> (and thanks!)
<xeji> samueldr: looking at it now
jtojnar_ has joined #nixos-dev
<jcrben> xeji: I have an old (2011?) 13' macbook pro collecting dust in a closet
<gchristensen> if you don't mind shipping charges, I can add it to my "rack" of NixOS test gear
<xeji> jcrben: great, thanks. gchrisensen is the expert to set up our darwin infrastructure (I know very little about macs)
<xeji> * gchristensen
jtojnar has quit [Ping timeout: 265 seconds]
jtojnar_ is now known as jtojnar
<jcrben> gchristensen: I'll keep that in mind and think it over a bit
<gchristensen> cool
<gchristensen> ok we're building xeji, thanks!
<xeji> <3
<samueldr> thanks again for the merge :)
<xeji> welcome
<xeji> gchristensen: I'm afraid your builder went down again
<gchristensen> :|
<xeji> thanks
<jcrben> I wonder if there's a way that I can hook into the infrastructure without shipping my laptop out - it's my backup...
<gchristensen> I can't keep this machine running. I'll take a harder look in ~30min.
<xeji> poor machine needs candy and personal care
xeji has quit [Quit: WeeChat 2.0]
<gchristensen> grrrrr