sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.03 released! https://discourse.nixos.org/t/nixos-19-03-release/2652 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html https://r13y.com | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
Synthetica has quit [Quit: Connection closed for inactivity]
<gchristensen> interesting, iso_minimal clrosure went down by 300 drvs but zeromq was added
<samueldr> from zero to borg faster?
<gchristensen> (not sure I follow :x)
<samueldr> borg being built on zeromq, zeromq in the closure is infiltration :^) *gets out*
<gchristensen> haha got it. I suspected it might be a joke
<samueldr> oh no, it's rabbitmq, all those mqs :/
<gchristensen> :)
<gchristensen> "I discovered that neither the stock Fedora 29 or Ubuntu 19.04 aarch64 kernels encountered this issue. The reason for this is they set CONFIG_PREEMPT_VOLUNTARY=y instead of CONFIG_PREEMPT=y in their kernel config. Would this be a viable solution for NixOS?"
<{^_^}> raspberrypi/linux#1216 (by robingroppe, 3 years ago, closed): Change to 250hz and voluntary preemption
<samueldr> this is about?
<gchristensen> ZoL 0.7.13 + Linux Kernel 5.0.4: GPL-incompatible module zfs.ko uses GPL-only symbol 'preempt_schedule_notrace' for aarch64 -- https://github.com/zfsonlinux/zfs/issues/8545
<{^_^}> zfsonlinux/zfs#8545 (by grahamc, 5 weeks ago, open): ZoL 0.7.13 + Linux Kernel 5.0.4: GPL-incompatible module zfs.ko uses GPL-only symbol 'preempt_schedule_notrace'
<samueldr> not really groking what they mean I won't say, but I guess if other big distros default to those, it should be good
<gchristensen> I have an idea of what it means, but not sure enough to say it
<gchristensen> I'll open up a PR or ticket about it in the AM :)
<gchristensen> g'night, nice work on that homepage PR
<samueldr> thanks, just updated it
<samueldr> nixos-homepage#277 for those not following the homepage project
<{^_^}> https://github.com/NixOS/nixos-homepage/pull/277 (by samueldr, 1 day ago, open): Reviews the nixos.org main page
<gchristensen> I saw :)
<{^_^}> nixos-weekly#93 (by domenkozar, 6 days ago, open): Call for Content: 2019/09
<domenkozar[m]> 5 items, this might be the first real weekly :)
<domenkozar[m]> took only a year 😅
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
<domenkozar[m]> let me know if there's something missing for today's weekly
rsa has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
init_6 has joined #nixos-dev
<arianvp> domenkozar[m]: I'm not on the SMN mailing list but perhaps someone could point them to my gitlab-runner fork for NixOS?
<arianvp> (Re: NixOS weekly)
<sphalerite> arianvp: link? I can do that
justanotheruser has quit [Ping timeout: 246 seconds]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos-dev
<yorick> arianvp: the nixos gitlab runner is cool, thanks
n_db has quit [Remote host closed the connection]
psyanticy has joined #nixos-dev
Synthetica has joined #nixos-dev
orivej has joined #nixos-dev
<adisbladis> I found a pretty nasty bug in our python packaging: https://github.com/NixOS/nixpkgs/pull/61139
<{^_^}> #61139 (by adisbladis, 3 minutes ago, open): python-packages: Set pythonPackages attr in pythonPackages scope
<qyliss^work> yikes
orivej has quit [Ping timeout: 255 seconds]
srk has quit [Ping timeout: 258 seconds]
srk has joined #nixos-dev
<adisbladis> Very yikes indeed...
<gchristensen> wow
<Profpatsch> Huh, that sounds like it should have produced many strange errors.
<Profpatsch> Sure this has been there for a long time?
<adisbladis> Probably..
<Profpatsch> I mean most python2 dependencies should give pretty obvious problems, like the print function not being a thing.
justanotheruser has joined #nixos-dev
<gchristensen> I guess all of them support python3
<adisbladis> Profpatsch: It shouldn't be a problem for _most_ packages since inputs are added to PYTHONPATH and imported
<adisbladis> I'd wager that most pure-python stuff is fine
<adisbladis> And python2/python3 have different bytecode locations, so no collisions there
<gchristensen> dropping `pythonPackages` from all-packages.nix will help that, right?
<adisbladis> gchristensen: Yep. That's how I found it in the first place :)
<gchristensen> oh!
<gchristensen> adisbladis++
<{^_^}> adisbladis's karma got increased to 8
<gchristensen> doing the good work
<adisbladis> I think we shouldn't have unversioned pythonPackages/perlPackages/whatever
<gchristensen> did you see the conversation from yesterday?
<adisbladis> Yes
<gchristensen> :D
<qyliss^work> python.packages, python2.packages, python27.packages would be nice
<gchristensen> in this proposal, there would be no `python.packages` in all-packages
<adisbladis> <3
<qyliss^work> Having no `python` package at all would make me sad
<gchristensen> I think the idea would be to have it as an alias
<gchristensen> so it can't be used within nixpkgs, but wouldn't break all the python stuff everywhere
<qyliss^work> Oh that would be okay
<qyliss^work> oh yes
<qyliss^work> perfect
<qyliss^work> sadness retracted
<gchristensen> (I forget who, but I think I wasn't keen on the aliases stuff at first, and now I extremely am)
<adisbladis> Is `nix-env --file . --query --available --json` a good way to fully eval nixpkgs or is there some better way?
<andi-> yes! please remove the generic versions of those.. It will cause pain some day otherwise :-)
<gchristensen> adisbladis: ofborg's readme has a 2-line instruction for doing its "deep" eval
<adisbladis> gchristensen: Thanks :)
<gchristensen> yep!
orivej has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
<{^_^}> #61142 (by adisbladis, 56 seconds ago, open): treewide: Make all usage of python2Packages explicit
<gchristensen> adisbladis: I wonder if we should, instead, use python2Packages inside the individual exprs, instead of at the callPackage site?
<gchristensen> what do you think?
<gchristensen> you didn't do this by hand did you? :o
<adisbladis> I think that most packages that uses pythonPackages should migrate to pythonXPackages.callPackage instead
<adisbladis> gchristensen: Automated with some manual touch-ups :)
<gchristensen> I don't know about pythonXPackages.callPackage
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 255 seconds]
init_6 has quit []
<gchristensen> hrm. I left a comment on the wrong PR and now I don't know where I left it
orivej_ has quit [Remote host closed the connection]
<infinisil> gchristensen: I think you should have an overview over all your recent actions on github.com (the main page)
orivej has joined #nixos-dev
<gchristensen> nice, thanks infinisil
<gchristensen> I wonder if it is time to reconsider volth having commit bit, they've long since stopped deleting their comments
<gchristensen> thanks sphalerite :)
<gchristensen> it turned out I did comment on the right one, but was expecting to see it on the wrong one
<sphalerite> lol
<adisbladis> gchristensen: It's the same as callPackage except also injects pythonPackages arguments
<gchristensen> interesting
<gchristensen> hmm I see our maintainers nix file doesn't include IRC handles
<gchristensen> sphalerite: shall I let you handle the PREEMPT discussion on zfsonlinux/zfs#8545 ?
<{^_^}> https://github.com/zfsonlinux/zfs/issues/8545 (by grahamc, 5 weeks ago, open): ZoL 0.7.13 + Linux Kernel 5.0.4: GPL-incompatible module zfs.ko uses GPL-only symbol 'preempt_schedule_notrace'
<Synthetica> gchristensen: Honestly, the maintainers.nix file could use a slight overhaul, also to infer the github username from the attribute name, if unspecified
orivej has quit [Ping timeout: 252 seconds]
_rvl has quit [Remote host closed the connection]
_rvl has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 248 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-dev
_e has joined #nixos-dev
catern has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
ivan has quit [Ping timeout: 250 seconds]
ryantm has quit [Ping timeout: 250 seconds]
lassulus has quit [Ping timeout: 250 seconds]
LnL has quit [Ping timeout: 250 seconds]
cransom has quit [Ping timeout: 250 seconds]
niksnut has quit [Ping timeout: 250 seconds]
avn has quit [Ping timeout: 250 seconds]
ivan has joined #nixos-dev
ryantm has joined #nixos-dev
avn has joined #nixos-dev
<zimbatm> samueldr: https://github.com/samueldr/mobile-nixos/ is missing a license file
<zimbatm> ryantm: https://github.com/ryantm/nixpkgs-update is missing a LICENSE file
<gchristensen> zimbatm++
<{^_^}> zimbatm's karma got increased to 6
niksnut has joined #nixos-dev
<samueldr> zimbatm: if it mattered for something, it's been added
cransom has joined #nixos-dev
Guest99428 has joined #nixos-dev
lassulus has joined #nixos-dev
<sphalerite> well, technically it matters for being able to use it legally :p
<qyliss> zimbatm++
<{^_^}> zimbatm's karma got increased to 7
<lopsided98> nixpkgs-update does have a license
<zimbatm> thanks samueldr
<zimbatm> I need to check with NLNet if the license has to be OSI-approved
<zimbatm> (for nixpkgs-update)
<gchristensen> an interesting thing about the nixpkgs-update license is _Ryan Mulligan_ has waived all rights, but under what rights did the rest of https://github.com/ryantm/nixpkgs-update/graphs/contributors submit their work under?
<samueldr> involved with NLNet? :)
<qyliss> The nixpkgs-update license also doesn't mention nixpkgs-update, but "repology-api"
<gchristensen> in general, it is probably better for nixpkgs-update to adopt a standard license
<qyliss> It looks like first line of a CC0 statement
<qyliss> I think it's their phrasing
<zimbatm> also note that WTFPL is not OSI-approved :p
<gchristensen> where is our nearby friendly lawyer
<zimbatm> according to wikipedia CC0 is not OSI-approved
<gchristensen> according to https://choosealicense.com/ it is for non-software (" open licenses used for non-software material ranging from datasets to videos")
<samueldr> (in my case MIT was an obvious choice and I was surprised I didn't do it already, I assumed that was done :))
<zimbatm> yes because software can be subject to patents (unfortunately)
<zimbatm> it adds another dimension to the problem apparently
<globin> that's why generally ASL > MIT :)
<infinisil> I usually just pick MIT because that's what everbody does
<infinisil> But looking into it, ASL or GPL sound better
<infinisil> globin: Why ASL > MIT in your opinion? And what about GPL?
<gchristensen> iirc it handles patents explicitly and MIT can get you in trouble w.r.t. them?
<samueldr> >> Apache license version 2.0 makes sure that the user does not have to worry about infringing any patents by using the software. The user is granted a license to any patent that covers the software. This license is terminated if the user sues anyone over patent infringement related to this software. This condition is added in order to prevent patent litigations.
<samueldr> (IANAL) though that's only for patents held by the whoever made the software, so e.g. I make something, I own the patent, under ASL2 I can't go after you for using what I released (except for the exception)
<infinisil> Hm, so that sounds good
<samueldr> though AFAIK if I write something, license under ASL2, but someone else in parallel patents the same thing, no protection
<infinisil> And the additional thing with GPL seems to be that everything that depends on GPL code, needs to use GPL as well
<infinisil> I *think* that's something good for free software at least
<samueldr> that's the concept behind copyleft
<samueldr> (if you wanted a name for it)
<qyliss> gchristensen: CC0 is the only CC license you can use for software
<qyliss> oh, but OSI couldn't come to a decision on it, interesting
orivej has joined #nixos-dev
hedning_ has quit [Remote host closed the connection]
<globin> infinisil: yes, what gchristensen and samueldr said, that's why rust pushed a lot of libraries to relicence as ASL
<globin> if you want copyleft, then use some GPL variant
<infinisil> Cool that sounds like a good idea then for future projects
_rvl has quit [Quit: ZNC 1.7.2 - https://znc.in]
_rvl has joined #nixos-dev