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.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
matthewbauer has joined #nixos-dev
<Mic92> matthewbauer: in some sense this new github feature that allows to resolve discussions by the pr author has its disadvantages.
<Mic92> context #47381
<Mic92> I mean it is nothing terrible bad in this case, but it kind of allows to bypass reviewers.
<matthewbauer> Oops sorry about that! I hadn't read the thread. I thought it just got buried (as quite a few have gotten)
Sonarpulse has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
Cale has quit [*.net *.split]
Taneb has quit [*.net *.split]
sphalerite has quit [*.net *.split]
garbas has quit [*.net *.split]
globin has quit [*.net *.split]
phreedom_ has quit [*.net *.split]
orivej has quit [*.net *.split]
adisbladis has quit [*.net *.split]
julm has quit [*.net *.split]
srk has quit [*.net *.split]
primeos has quit [*.net *.split]
niska` has quit [*.net *.split]
ekleog has quit [*.net *.split]
aszlig has quit [*.net *.split]
Sigyn has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
roberth has quit [*.net *.split]
timokau[m] has quit [*.net *.split]
tv has quit [*.net *.split]
Sonarpulse has quit [*.net *.split]
aanderse has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
Mic92 has quit [*.net *.split]
infinisil has quit [*.net *.split]
steveeJ has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
vdemeester has quit [*.net *.split]
fpletz has quit [*.net *.split]
yorick has quit [*.net *.split]
fadenb has quit [*.net *.split]
gchristensen has quit [*.net *.split]
pie_ has quit [*.net *.split]
bgamari has quit [*.net *.split]
Jackneill has quit [*.net *.split]
alp has quit [*.net *.split]
clever has quit [*.net *.split]
niksnut has quit [*.net *.split]
tilpner has quit [*.net *.split]
flokli has quit [*.net *.split]
ben has quit [*.net *.split]
genesis has quit [*.net *.split]
mingc has quit [*.net *.split]
simpson has quit [*.net *.split]
manveru has quit [*.net *.split]
zimbatm has quit [*.net *.split]
dhess has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
qyliss^work has quit [*.net *.split]
andi- has quit [*.net *.split]
lassulus has quit [*.net *.split]
ciil has quit [*.net *.split]
WilliButz has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
hl has quit [*.net *.split]
cransom has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
nwspk has quit [*.net *.split]
srhb has quit [*.net *.split]
Nadrieril has quit [*.net *.split]
ericnoan has quit [*.net *.split]
sorear has quit [*.net *.split]
layus has quit [*.net *.split]
pbogdan has quit [*.net *.split]
florianjacob has quit [*.net *.split]
cbarrett has quit [*.net *.split]
gleber_ has quit [*.net *.split]
kalbasit[m] has quit [*.net *.split]
grw has quit [*.net *.split]
Synthetica has quit [*.net *.split]
cocreature has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
yegortimoshenko has quit [*.net *.split]
samueldr has quit [*.net *.split]
kgz has quit [*.net *.split]
pepesza has quit [*.net *.split]
makefu has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
ma27 has quit [*.net *.split]
disasm has quit [*.net *.split]
nbp has quit [*.net *.split]
edwtjo has quit [*.net *.split]
obadz has quit [*.net *.split]
domenkozar has quit [*.net *.split]
ivan has quit [*.net *.split]
edef has quit [*.net *.split]
averell has quit [*.net *.split]
ChanServ has quit [*.net *.split]
edwtjo has joined #nixos-dev
phreedom_ has joined #nixos-dev
Cale has joined #nixos-dev
sphalerite has joined #nixos-dev
garbas has joined #nixos-dev
globin has joined #nixos-dev
Taneb has joined #nixos-dev
obadz has joined #nixos-dev
domenkozar has joined #nixos-dev
ivan has joined #nixos-dev
gchristensen has joined #nixos-dev
Sigyn has joined #nixos-dev
matthewbauer has joined #nixos-dev
sorear has joined #nixos-dev
nwspk has joined #nixos-dev
Nadrieril has joined #nixos-dev
ericnoan has joined #nixos-dev
srhb has joined #nixos-dev
layus has joined #nixos-dev
pbogdan has joined #nixos-dev
pie_ has joined #nixos-dev
Jackneill has joined #nixos-dev
niksnut has joined #nixos-dev
bgamari has joined #nixos-dev
clever has joined #nixos-dev
alp has joined #nixos-dev
tilpner has joined #nixos-dev
edef has joined #nixos-dev
averell has joined #nixos-dev
ben has joined #nixos-dev
qyliss^work has joined #nixos-dev
zimbatm has joined #nixos-dev
simpson has joined #nixos-dev
elvishjerricco has joined #nixos-dev
manveru has joined #nixos-dev
dhess has joined #nixos-dev
mingc has joined #nixos-dev
genesis has joined #nixos-dev
andi- has joined #nixos-dev
flokli has joined #nixos-dev
orivej has joined #nixos-dev
ekleog has joined #nixos-dev
julm has joined #nixos-dev
niska` has joined #nixos-dev
adisbladis has joined #nixos-dev
srk has joined #nixos-dev
primeos has joined #nixos-dev
aszlig has joined #nixos-dev
thoughtpolice has joined #nixos-dev
roberth has joined #nixos-dev
timokau[m] has joined #nixos-dev
tv has joined #nixos-dev
Synthetica has joined #nixos-dev
kgz has joined #nixos-dev
samueldr has joined #nixos-dev
thefloweringash has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
cocreature has joined #nixos-dev
florianjacob has joined #nixos-dev
grw has joined #nixos-dev
cbarrett has joined #nixos-dev
gleber_ has joined #nixos-dev
kalbasit[m] has joined #nixos-dev
lassulus has joined #nixos-dev
ciil has joined #nixos-dev
cransom has joined #nixos-dev
WilliButz has joined #nixos-dev
hl has joined #nixos-dev
Profpatsch has joined #nixos-dev
pepesza has joined #nixos-dev
makefu has joined #nixos-dev
disasm has joined #nixos-dev
nbp has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
ma27 has joined #nixos-dev
ma27 has quit [Read error: Connection reset by peer]
ChanServ has joined #nixos-dev
Sonarpulse has joined #nixos-dev
lopsided98 has joined #nixos-dev
pie_ has quit [Ping timeout: 260 seconds]
matthewbauer has quit [Ping timeout: 264 seconds]
sir_guy_carleton has joined #nixos-dev
Sonarpulse is now known as actually-is-eric
actually-is-eric is now known as ericson23142
ericson23142 is now known as ericson2314_2
Ericson2314 has joined #nixos-dev
ericson2314_2 has quit [Quit: Leaving]
infinisil has joined #nixos-dev
vdemeester has joined #nixos-dev
orivej has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
orivej has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
goibhniu has joined #nixos-dev
tilpner has joined #nixos-dev
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos-dev
lopsided98 has quit [Remote host closed the connection]
Cale has quit [Excess Flood]
Cale has joined #nixos-dev
lopsided98 has joined #nixos-dev
orivej has quit [Ping timeout: 244 seconds]
lopsided98 has quit [Remote host closed the connection]
Cale has quit [Ping timeout: 252 seconds]
lopsided98 has joined #nixos-dev
globin has quit [Ping timeout: 252 seconds]
Cale has joined #nixos-dev
fadenb has joined #nixos-dev
pie_ has joined #nixos-dev
Enzime has joined #nixos-dev
<Enzime> https://hydra.nixos.org/build/82597621/nixlog/15 any idea why it's timing out after [ 4.121274] random: crng init done
<srhb> Enzime: It doesn't appear to have timed out yet. How long has it been stuck?
<srhb> Enzime: Looks normal to me. At that point in the log, cptofs will be running (silently) for quite a while.
<Enzime> srhb: all the builds on Hydra have timed out there
<srhb> Enzime: Ok. I would be tempted to try and increase the meta timeout as a first try.
<srhb> If that works on silence even..
<srhb> Hmm, okay. Last succesful was only 12m. That does seem suspect.
<srhb> Enzime: Ah, I see the problem, I think. I'll fix it..
orivej has joined #nixos-dev
{^_^} has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
ma27 has joined #nixos-dev
aminechikhaoui has quit [Ping timeout: 245 seconds]
angerman has joined #nixos-dev
Synthetica has quit [Quit: Connection closed for inactivity]
<angerman> could we have `import <github:owner/repo@rev;hash>`?
<elvishjerricco> angerman: Just a syntactic sugar? You can already do that without IFD using `builtins.fetchTarball`.
<angerman> elvishjerricco: right, but it's quite ugly, no? https://github.com/angerman/nix-tools/blob/master/pkgs.nix#L4-L32
<elvishjerricco> angerman: A little better, but not hugely, yea: https://www.irccloud.com/pastebin/dXYWN4Fv/
<elvishjerricco> or `import (builtins.fetchGit { url = https://github.com/owner/repo; rev = "..."; })`
<angerman> elvishjerricco: right, so it would be a shorthand for that.
<elvishjerricco> angerman: Just trying to help make things more concise than `fetchFromGitHub` without new language features :P
<angerman> I guess I could write a custom parser that parsed "github:owner/repo@rev;hash". I'm only a bit concerned that that would be hilariously slow in nix
<angerman> elvishjerricco: anyway, as you can see I managed to use your plan2nix logic to actually build nix-tools :D
<elvishjerricco> angerman: Cool :) Soon I'm gonna try to make a module based Nix infra for Haskell. Hoping to make nix-tools the backbone of it.
<angerman> module based? cabal components?
<elvishjerricco> So when I get to that, I'll be fixing up my PR and making it more usable
<elvishjerricco> angerman: NixOS-style modules; modules in the Nix infra, not Haskell modules
<angerman> guess I have no idea about modules; but I need a componentized builder
<elvishjerricco> angerman: Yea, that's one of the things I want for my thing. That PR I've got already does that
<elvishjerricco> Componentized builds are sooo much better...
<angerman> elvishjerricco: how much further are you along the way than what the open PR has?
<elvishjerricco> angerman: Zero.
<elvishjerricco> angerman: Hopefully I can get to it soon...
<angerman> elvishjerricco: but you still ran tests as part of the component builder logic, or did I miss something?
<angerman> elvishjerricco: I'd ideally want something like <pkg> being the library, and <pkg-test-x> being the test-suite x; and similarly <pkg-exe-x> being the executable x.
<elvishjerricco> angerman: It's already usable as-is. You can generate a hackage Nix DB and use a stack config or a cabal plan and the new generic-builder I've got in there to get per component builds. You reference the build like `foo.components.exes.foo`
<angerman> e.g. one cabal file would become multiple derivations. That way I can depend only on the libraries, and I'd also like to split out the tests into separate derivations so that I can run the in parallel and opportunistically try compiling dependent packages as soon as the library is built.
<elvishjerricco> Yea, exactly what my thing already does :)
<angerman> elvishjerricco: ok. I'll need to have another look.
<elvishjerricco> angerman: It's not *at all* cross friendly yet, but it's small enough that it shouldn't be hard to add
<angerman> I needed to nuke the revision stuff for now though. I *am* in favor or dumping hackage.nix.
<elvishjerricco> angerman: I worry about a full Hackage DB in Nix because it's pretty monstrous
<angerman> clever: ^^
<elvishjerricco> Like hundreds of megs (maybe over a gig... can't remember)
<elvishjerricco> It's like 44M compressed though
<elvishjerricco> Which brings us to a Nix feature I'd like :P
<angerman> elvishjerricco: well if you look what I do with nix-pkgs, I just fetch a snapshot.
<elvishjerricco> Importing files from tarballs as if it were a directory, so that relative path literals in the imported expression works
<angerman> elvishjerricco: one thing I was wondering about the other day was, what if we wrote a compression algorithm in nix? and would decode stuff on the fly? :p
<elvishjerricco> Lol
<elvishjerricco> A bit extreme, but that might do it :P
<angerman> elvishjerricco: 14M Oct 10 21:22 20ad44ecdd5475c8adbe0e129638f729a26ca120.tar.gz
<angerman> that's the hackage.nix snapshot.
<elvishjerricco> angerman: How did you generate that?
<angerman> curl -O -L https://github.com/angerman/hackage.nix/archive/$(git -C /Volumes/CASE/hackage.nix rev-parse HEAD).tar.gz
<angerman> elvishjerricco: to be fair, it's a processed hackage. E.g. it already throws away lots of info from the cabal files that the cabal-to-nix tool doesn't use.
<angerman> so you should naturally end up with a smaller file
<angerman> elvishjerricco: I'm planing on having the update.sh script in hackage.nix and stackage.nix run every 4hrs; and then commit that with UTC timestamps as git tags.
<angerman> or maybe every 6hs.
<elvishjerricco> angerman: How is hackage.nix generated again? That's from all-cabal-hashes, isn't it?
<angerman> so you get 20181010-0000
<angerman> elvishjerricco: right
<elvishjerricco> angerman: And how big is the archive uncompressed?
<angerman> 407mb
<angerman> might have slight variation due to FS though.
<angerman> elvishjerricco: however that brings us back to the question if nix could just look into turbals.
<elvishjerricco> angerman: Exactly. I don't mind a < 100M file for each project. But approaching half a gig is pretty bad.
<angerman> I'd be more concerned about the number of files
<elvishjerricco> angerman: Why's that?
<angerman> you have massive amounts of small files; that's annoying and might put a strain on your f.
<angerman> filesystem.
<elvishjerricco> Good point
<angerman> elvishjerricco: but wait it wouldn't be 400mb per project.
<angerman> elvishjerricco: nix will cache that for you. If you use a consisted hackage.nix snapshot across your projects; you will only have 400mb once.
<elvishjerricco> Yea but each project will probably want to pin it themselves, all told.
<angerman> well...
<angerman> elvishjerricco: do you have an example on how you call your custom builder, you could attach to the issue?
<angerman> elvishjerricco: the component build might end up being fixed faster than you might think. Any help/guidance could be helpful.
<elvishjerricco> angerman: Let me dig it up... Haven't used it in a while so I'll have to figure it out again :P
<angerman> sure!
<clever> morning
<domenkozar> nixos weekly with only NixOS release in it?
<elvishjerricco> angerman: Huh. Data.Yaml can't parse lts-12.0.yaml for some reason....
<domenkozar> yay/nay? :)
<domenkozar> any last minute articles for nixos weekly? :)
<elvishjerricco> angerman: Derp. Need lts-to-nix
<elvishjerricco> domenkozar: Oh I might have something
<elvishjerricco> domenkozar: Maybe this? http://qfpl.io/posts/nix/starting-simple-hydra/
<elvishjerricco> Not really news
<domenkozar> I don't understand why that article was written as hydra tutorial does the same in more automated way
<domenkozar> but I'll post it anyway :)
<elvishjerricco> domenkozar: I haven't actually read it :P
<domenkozar> I skimmed it and seems like 101 tutorial for hydra
<domenkozar> so fastly, 18.09 and hydra tutorial
<domenkozar> sure why not.
<angerman> elvishjerricco: ??
<elvishjerricco> ?
<elvishjerricco> Oh
<elvishjerricco> I was trying to use stack-to-nix on an lts.yaml file, not a stack.yaml
<elvishjerricco> I'm dumb :P
<elvishjerricco> Needed lts-to-nix
ekleog has quit [Remote host closed the connection]
aminechikhaoui has joined #nixos-dev
ekleog has joined #nixos-dev
mic921 has joined #nixos-dev
jtojnar has joined #nixos-dev
Dezgeg has joined #nixos-dev
pie_ has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 252 seconds]
globin has joined #nixos-dev
orivej has joined #nixos-dev
<globin> domenkozar, gchristensen, niksnut: fpletz and I would like to propose sphalerite (lheckemann on github) as a nixpkgs committer/member, he has had 100 PRs merged and is also very active on IRC/discourse. (full disclosure, he's started working at mayflower and at least until the end of this year he'll be working full time on open source nix related things). (merged PRs:
<gchristensen> he isn't already?
<globin> gchristensen: nope
<gchristensen> why not? :)
<globin> good question :)
<samueldr> sphalerite is living hidden in the shadows of lheckemann
<gchristensen> strong +1
<andi-> I am surprised he is not yet.. I think he would be a great addition :)
<LnL> TIL those are the same person :p
fpletz has joined #nixos-dev
jtojnar has quit [Ping timeout: 252 seconds]
Synthetica has joined #nixos-dev
aanderse has joined #nixos-dev
aminechikhaoui has quit [Ping timeout: 245 seconds]
aminechikhaoui has joined #nixos-dev
sir_guy_carleton has joined #nixos-dev
pie_ has joined #nixos-dev
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
NinjaTrappeur has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
jtojnar has joined #nixos-dev
jtojnar has quit [Remote host closed the connection]
aminechikhaoui has quit [Ping timeout: 252 seconds]
aminechikhaoui has joined #nixos-dev
<samueldr> hey, so, did we figure out who's our azure pro?
<gchristensen> I know colemickens is in to azure
<gchristensen> or was :)
<{^_^}> #36262 (by Rizary, 31 weeks ago, open): Azure version of NixOS blob
<{^_^}> nixos-homepage#226 (by jlb777, 16 weeks ago, open): Update download.tt
orivej has quit [Ping timeout: 244 seconds]