gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.09 is released! https://discourse.nixos.org/t/nixos-19-09-release/4306 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
_ris has quit [Ping timeout: 258 seconds]
ixxie has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos-dev
<gchristensen> w00t! good luck, domenkozar[m] !
<domenkozar[m]> :grin:
<gchristensen> a few weeks ago I mentioned a really stellar message. here is a one I've been procrastinating on handling because I don't know what to do lol trace: warning: types.string is deprecated because it quietly concatenates strings
<domenkozar[m]> it's mostly that it doesn't point to where the invocation is
<domenkozar[m]> and what the new best way is :)
<gchristensen> exactly
<gchristensen> domenkozar[m]: not sure if you saw my feedback last time, but: https://gist.github.com/grahamc/a5e79e44087442b4afedbb46248bcf57
mmlb has joined #nixos-dev
<infinisil> Last time I concluded that it would be very difficult to have a better error message unfortunately :/
das_j has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
das_j has joined #nixos-dev
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
lovesegfault has quit [Ping timeout: 268 seconds]
<domenkozar[m]> ok as migration is completed I can check the error
<domenkozar[m]> oh yeah I saw that one
bhipple has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
Cale has quit [Ping timeout: 260 seconds]
bhipple has quit [Remote host closed the connection]
<domenkozar[m]> anyone around that has access to 100MB/s link?
<domenkozar[m]> I guess most are still sleeping :D
<domenkozar[m]> maybe gchristensen ^^
<samueldr> domenkozar[m]: not sure if packet is fast enough
Cale has joined #nixos-dev
<samueldr> and if you have access to the aarch64 box
<samueldr> I figure you want to validate something with the migration?
<domenkozar[m]> yeah, want to see what speeds it can reach
<samueldr> current speed sticks at "~22M"
<samueldr> average for the download was 21.0M
<samueldr> not sure if the machine is supposed to be insanely fast or anything
<samueldr> well, supposed to have an insanely fast connection*
<domenkozar[m]> hmm now need to benchmark that against cache.nixos.org
<samueldr> do you have a big nar.xz handy to curl? :)
<samueldr> (out of cache.nixos.org)
<domenkozar[m]> smaller, but should do
<samueldr> oops, average download speed 180M
<domenkozar[m]> right that's because it's already cached
<domenkozar[m]> going to be hard to find something that misses the cache
<domenkozar[m]> maybe something quite old
<domenkozar[m]> sec
<samueldr> 84.3M
<domenkozar[m]> hm it did hit the cache with my head request
<domenkozar[m]> one more ;D
<samueldr> :)
<domenkozar[m]> that should also confirm it was a MISS
<samueldr> 68.4M
<samueldr> oops, wrong column, 79.2M
<samueldr> now looking at the headers
<samueldr> < x-cache: HIT, MISS
<domenkozar[m]> hmm
<samueldr> stuff's pretty darn quick ;)
<domenkozar[m]> but it should be a MISS
<domenkozar[m]> :fingerscrossed:
<samueldr> < X-Cache: HIT, MISS
<domenkozar[m]> sigh
<samueldr> I don't know really about those things so I'm just a dumb pipe to you :)
<domenkozar[m]> well it's in two caches
<domenkozar[m]> I mean, it's in one of the two.
<samueldr> so it would be in e.g. amazon's, but not fastly or something like that?
<domenkozar[m]> yeah
<domenkozar[m]> maybe there's a way to tell fastly to skip cache
<domenkozar[m]> I have no idea how to do that :)
<domenkozar[m]> thanks samueldr
<samueldr> you're welcome
<domenkozar[m]> I guess I could compare cached content
lovesegfault has joined #nixos-dev
<domenkozar[m]> samueldr: can you test
<domenkozar[m]> that's in US east
<samueldr> average dkiad sticking around 20M
<samueldr> average dload*
<domenkozar[m]> cool, so that's comparable
lovesegfault has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos-dev
ixxie has joined #nixos-dev
lovesegfault has quit [Quit: WeeChat 2.7]
FRidh2 has joined #nixos-dev
Jackneill has joined #nixos-dev
kenjis1 has joined #nixos-dev
ixxie has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos-dev
kenjis1 has quit [Ping timeout: 260 seconds]
kenjis1 has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
kenjis1 has quit [Ping timeout: 248 seconds]
kenjis1 has joined #nixos-dev
FRidh2 has quit [Quit: Konversation terminated!]
orivej has joined #nixos-dev
psyanticy has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
genesis has quit [Remote host closed the connection]
drakonis has joined #nixos-dev
<gchristensen> should I switch r13y.com to reproducible.dev ?
<mkaito> if you enjoy paying out the nose for .dev domains, sure :P
<gchristensen> I have it already :P
<drakonis> sure why not, though it'd be a domain best held by the overall reproducible builds group
<gchristensen> true
<gchristensen> I think I'll offer it
<Taneb> drakonis: I think that also might apply to r13y.com ;)
<drakonis> probably.
<drakonis> i can't dismiss that
<Taneb> Something like r13y.nix would be perfect. Is there a nix TLD? Probably not...
<drakonis> i was about to ask that
<Taneb> gchristensen: I prefer r13y.com, personally, but that might be because I'm familiar with it
<gchristensen> unfortunately my budget request for 180kUSD to get .nix was rejected
<Taneb> Maybe try again next budget cycle?
<gchristensen> will do
<infinisil> That would be nice :o
<Taneb> (I'd be happy with nix.r13y.com or .dev or something)
<gchristensen> I popped my head in to #reproducible-builds on OFTC to offer them r13y.com and reproducible.dev. they don't seem to actually want them right now, but even better: bmwiedemann is sending me patches for a handful of our problems <3 <3 <3
<drakonis> coolest.
ixxie has joined #nixos-dev
<Taneb> I guess that's the perfect result
<jtojnar> worldofpeace by the way, I should probably update Flatpak before branch off
orivej has quit [Ping timeout: 260 seconds]
drakonis has quit [Ping timeout: 252 seconds]
<mkaito> I know some of you use direnv with nix-shell. It just gets stuck for me since last update. Anyone ran into that?
<Profpatsch> mkaito: that’s what lorri is for: https://github.com/target/lorri
<mkaito> I use it mostly because of emacs, which has direnv-mode.
<Profpatsch> mkaito: Yes, that’s the main use-case
<mkaito> alright I'll give it a try
<mkaito> thanks
<Profpatsch> mkaito: I uses direnv for the reload
<mkaito> wouldn't it just get stuck the same then? :P
<gchristensen> I'd really like to be able to keep the build directory even on success
<Profpatsch> mkaito: no, that’s the main improvement over plain use nix
<Taneb> gchristensen: agreed, the amount of times I've added "postInstall = exit 1"...
<mkaito> oh it's not written in haskell, sign me up
<Profpatsch> mkaito: heh, what’s the problem with Haskell?
<mkaito> I'm one of the nix guys at a haskell shops
<mkaito> too much saussage making, I guess
<mkaito> when I see haskell, I jsut want to run away
<gchristensen> mkaito: a lot of people here like Haskell, and that is okay. it is good to have people who like all sorts of languages around
<mkaito> I guess tongue-in-cheek doesn't translate very well to IRC
orivej has joined #nixos-dev
<gchristensen> it can be hard to translate, especially when the tongue-in-cheek is about something the person on the other side likes a lot :)
<mkaito> all good
<mkaito> no harm intended
<gchristensen> <3 thanks
<mkaito> I know that a lot of nix people love haskell, and viceversa.
<mkaito> I don't particularly love haskell, but I can see the appeal
<gchristensen> aye
<cransom> i'll let you love it. it currently has no place in my heart. some day maybe.
<gchristensen> that is okay too
<mkaito> I'm sure writing Haskell is lovely, especially if you're math-minded. Debugging Haskell builds is not nearly as fun though, and that's most of what I do :P
orivej has quit [Ping timeout: 272 seconds]
Jackneill has quit [Remote host closed the connection]
<zimbatm> mkaito: what does "stuck" mean in that contect?
<zimbatm> context
<zimbatm> release 2.21.0 broke a few things which should be fixed in 2.21.2
bgamari_ is now known as bgamari
<mkaito> stuck means... stuck.
<mkaito> it will do the nix thing (copy from cache, etc), output a massive hash-like thing, and thar she blows. stuck forever.
<mkaito> I've had one stuck for like 6 hours since this morning, because I forgot about that shell :P
<zimbatm> I assume your `.envrc` looks like: `use nix`?
<zimbatm> did you override the `use_nix` function?
<yorick> gchristensen: haskell is fine if you like 10GB CLI binary closures :P
<gchristensen> ~off topic~
<zimbatm> mkaito: -> #direnv
orivej has joined #nixos-dev
_ris has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
<rnhmjoj> i have some free time now and i'd like to address issue #7531. do you any suggestion?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/7531 (by jraygauthier, 4 years ago, closed): Fix readosm double licence field error.
drakonis has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
<Profpatsch> mkaito: By debugging you mean space leaks in services?
<Profpatsch> Or build instructions in nix expressions?
<mkaito> mostly the latter
drakonis has quit [Quit: WeeChat 2.6]
genesis has joined #nixos-dev
drakonis has joined #nixos-dev
<Profpatsch> mkaito: I agree that the ghc build system is quite organically grown, but a broken doesn’t tell you much about the build system, does it.
<Profpatsch> argh, *broken build system doesn’t tell you much about a language
<mkaito> it doesn't, agreed
<Profpatsch> Rust has a nice build system now, but believe me it won’t have one 20 years from now :)
<worldofpeace> Jan Tojnar: ooohhhh, I almost forgot there's for sure stuff we forgot!
<worldofpeace> Jan Tojnar: It was the thing with wrapGAppsHook when we redocumented it, and it didn't actually work...
__monty__ has quit [Quit: leaving]
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
lovesegfault has joined #nixos-dev
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos-dev
ixxie has quit [Ping timeout: 272 seconds]
aminechikhaoui has quit [Client Quit]
aminechikhaoui has joined #nixos-dev
kenjis1 has quit [Ping timeout: 260 seconds]
<jtojnar> oh yeah, that too
jtojnar_ has joined #nixos-dev
bennofs has quit [Remote host closed the connection]
bennofs has joined #nixos-dev
jtojnar_ has quit [Quit: jtojnar_]
<worldofpeace> currently I've been avoiding bash like ⚰️, mostly because I think it might put me in the ⚰️
genesis has quit [Ping timeout: 272 seconds]
<jtojnar> I can take a look at it on Feb 6, if you will not beat me to it
<worldofpeace> hehe Jan Tojnar no races here (yet...)
<worldofpeace> though flatpak I'm knowingfully avoiding because it's a real pain to update all the things, many patches and eternal tests
<jtojnar> it would be nice to make the upstream code more procedural so that we could just swap the locating procedures
<jtojnar> not sure how acceptable it is for upstream
tv has quit [Ping timeout: 265 seconds]
genesis has joined #nixos-dev
<jtojnar> worldofpeace I was also thinking about making wrap{Python,{G,Qt}Apps}Hook set makeWrapperArgs and than let wrapProgramsHook take care of the actual wrapping
<jtojnar> which would get us slightly closer to declarative wrappers
<jtojnar> (also makeWrapperArgsForFile associative array)
<worldofpeace> Jan Tojnar: same same same, thinking the same thing.
<worldofpeace> Jan Tojnar: we could have wrapProgramsHook in wrapProgram right, so it's propagated?
<worldofpeace> * makeWrapper
<jtojnar> definitely
<worldofpeace> the laziest issue ever https://github.com/NixOS/nixpkgs/issues/78792 Jan Tojnar 🤣
<{^_^}> #78792 (by worldofpeace, 29 seconds ago, open): do not invoke wrapProgram directly, make a wrapProgramsHook
<worldofpeace> feel free to improve, but at least it's in the tracker