ekleog 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 https://r13y.com | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
Cale has quit [Ping timeout: 252 seconds]
Cale has joined #nixos-dev
<gchristensen> ouch
<gchristensen> ryantm: can you put a hold on GNome?
<samueldr> gchristensen: it's been done already :)
<gchristensen> nice
<gchristensen> I made a nix function for taking a list of SystemD services and creating an explicit orderinG: https://gist.github.com/grahamc/4fe4ae6cb74674b81dd32bcca1900ebf
<samueldr> ah, channels issue?
<gchristensen> yeah
drakonis has quit [Ping timeout: 250 seconds]
<infinisil> gchristensen: Cool, what do you use it for?
<samueldr> nixos-org-configurations#79
<{^_^}> https://github.com/NixOS/nixos-org-configurations/issues/79 (by grahamc, 12 hours ago, open): Channel updates happen all at once, meaning none at all.
drakonis has joined #nixos-dev
<infinisil> AHh
<samueldr> ! warning: unable to download 'https://cache.nixos.org/nar/0jvyr4cb9lw1zbbml2hxk69v17l3kwm6d9zh4hhp719dc8igsjqp.nar.xz': HTTP error 503; retrying in 292 ms
<samueldr> oh, looks like this time it's not resolving itself
<clever> samueldr: code 200 for me, on that url
<clever> x-served-by: cache-yyz8333-YYZ
<samueldr> had three failures back to back, then error 7 while decompressing xz file
<samueldr> now restarting, but I was searching for the fastly-debug.com url
<samueldr> now it works
drakonis has quit [Read error: Connection reset by peer]
<samueldr> thinking the xz failure might have been related to it starting to work and... racing the file?
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 255 seconds]
drakonis has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos-dev
<samueldr> tried `curl`ing while I got a 503, the curl was started between the two 503, but succeeded https://gist.github.com/samueldr/4561ab42b0272be60f7b496042a9c294
<samueldr> (and error: got unknown message type 69 from Nix daemon
* samueldr could post this elsewhere if desired
drakonis has joined #nixos-dev
disasm has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos-dev
<gchristensen> https://github.com/NixOS/nixos-org-configurations/pull/80 anyone want to review this?
<{^_^}> nixos-org-configurations#80 (by grahamc, 13 seconds ago, open): channel updates: make sequential
<samueldr> I'm surprised you didn't remove the `with lib` while refactoring the whole file :)
<gchristensen> I will take the opportunity!
<gchristensen> ok, fixed samueldr :)
<samueldr> I didn't test building/running, but otherwise left a comment
<gchristensen> thanks, samueldr :)
<samueldr> it looks good, I hesitate to give an "approved" tick since I didn't run it, but it looks good
<gchristensen> cool
<gchristensen> I can't easily deploy, I left my easily accessible creds at home, so no rush on that anyway :P
orivej has quit [Ping timeout: 245 seconds]
drakonis1 has joined #nixos-dev
drakonis has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos-dev
init_6 has joined #nixos-dev
pie___ has joined #nixos-dev
pie__ has quit [Ping timeout: 246 seconds]
ajs124 has left #nixos-dev [#nixos-dev]
drakonis1 has quit [Quit: WeeChat 2.3]
Taneb has quit [Quit: I seem to have stopped.]
<aszlig> gchristensen: regarding mkOrderedChain: very cool, would have needed that a dozen of times
<aszlig> gchristensen: any particular reason you use unitConfig.After instead of just after?
jtojnar has quit [Remote host closed the connection]
init_6 has quit [Ping timeout: 255 seconds]
init_6 has joined #nixos-dev
init_6 has quit [Ping timeout: 272 seconds]
init_6 has joined #nixos-dev
orivej has joined #nixos-dev
ajs124 has joined #nixos-dev
init_6 has quit [Ping timeout: 250 seconds]
<gchristensen> habit :P
<gchristensen> I forget the aliases we have sometimes
jtojnar has joined #nixos-dev
<srhb> Any haskell infra people have an opinion on my comment here? https://github.com/NixOS/nixpkgs/pull/57545#issuecomment-473534108
<srhb> (I am proposing either disallowing the use of haskellPackages.override and haskellPackages.extend in-tree, or fundamentally making extend near-impossible to use for nixpkgs users.)
timokau has joined #nixos-dev
<Profpatsch> srhb: What do you propose instead?
<Profpatsch> I’m aware of .override not composing, but is there an alternative?
worldofpeace has quit [Remote host closed the connection]
vaibhavsagar has quit [Write error: Connection reset by peer]
rycee has quit [Remote host closed the connection]
philipp[m] has quit [Remote host closed the connection]
yegortimoshenko has quit [Remote host closed the connection]
Ericson2314 has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
roberth has quit [Remote host closed the connection]
nocent has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Remote host closed the connection]
matthewbauer[m] has quit [Read error: Connection reset by peer]
timokau[m] has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
codyopel has quit [Write error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
<srhb> Profpatsch: You can compose override. I'm OK with either of my suggestions there, really. I think we should remove extend if it's not going to be fixed, really. That's better than making in-tree changes that break the use of it.
Ericson2314 has joined #nixos-dev
timokau[m] has joined #nixos-dev
dtz has joined #nixos-dev
sphalerit has joined #nixos-dev
bennofs[m] has joined #nixos-dev
roberth has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
philipp[m] has joined #nixos-dev
Moredread[m] has joined #nixos-dev
thefloweringash has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
rycee has joined #nixos-dev
worldofpeace has joined #nixos-dev
<noonien> hmm
<noonien> is there a better way to nix-shell than this? https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html
<noonien> oh, wrong channel, my bad!
jtojnar has quit [Ping timeout: 252 seconds]
<zimbatm> the nixpkgs channels are live again \o/
<zimbatm> the channel generation is taking 8G+ of memory, which triggered some OOM on our release box
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 246 seconds]
ckauhaus has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos-dev
lopsided98_ has joined #nixos-dev
lopsided98 has quit [Ping timeout: 252 seconds]
<infinisil> srhb: So every time somebody wants to change something in haskellPackages, they have to use the boilerplate `.override (old: { overrides = lib.composeExtensions (old.overrides or (_: _: {})) (self: super: {` ?
<infinisil> :/
<clever> infinisil: which is why i dont use that method, i just use what was it called ...
<infinisil> .extend?
<infinisil> Apparently that's broken, though I don't know why
<clever> yeah, extend
<clever> extend works, but it strips off .overrride, so you cant change the ghc version
<clever> you must stack things in the right order, (hspkgs.override { ghc = ..; }).extend ...
<infinisil> I think we should just redesign haskellPackages such that extend can also change ghc and the other things then
<srhb> infinisil: Yes, I agree it's really painful..
<srhb> infinisil: I don't know what a good solution is right now though. Using extend internally may be Good Enough.
<srhb> (As long as we don't export that extend-modified package set to the user)
<clever> /home/clever/apps/nixpkgs/nixos/modules/system/boot/kernel.nix: apply = kernelPackages: kernelPackages.extend (self: super: {
<clever> i was also caught by surprise by this a while back
<clever> was helping a user extend the kernel with //
<clever> but behind the scenes, nixos always does a .extend of the kernelPackages!
<clever> which undid //
<srhb> Yeah..
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
JosW has joined #nixos-dev
Melkor333 has joined #nixos-dev
<Profpatsch> Damn the expression problem!
<Melkor333> Can somebody help me with the 56940? The package pylast has been updated to version 3.0. But Version 3 of pylast doesn't support python 2.7 anymore, thus it breaks mopidy-iris, which builds with python2.7. I don't know if (and how) I should split the pylast package to build differently for python2.7 and python3.x
<Melkor333> I'm sorry, I mean the Issue #56940: https://github.com/NixOS/nixpkgs/issues/56940
<{^_^}> https://github.com/NixOS/nixpkgs/issues/56940 (by MartinPotier, 1 week ago, open): mopidy-iris depends on pylast-3.0.0 now, which does not support python2.7 anymore
<Melkor333> The simpler approach would be to revert the commit which updated pylast to version 3.0, but I don't know if that is something we want to do...
<Melkor333> (as a sidenote, this would fix at least one Hydra failure for the release 19.3 :) )
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<drakonis> SElinux policies for NixOS? gj
<drakonis> please steal gentoo's
<drakonis> gentoo has the second best policies, right behind fedora's
Melkor333 has quit [Quit: WeeChat 2.4]
copumpkin has joined #nixos-dev
jtojnar has joined #nixos-dev
jtojnar has quit [Remote host closed the connection]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis1 has quit [Ping timeout: 245 seconds]