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
drakonis has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
<samueldr> hmm, not sure if the queue is bogged down by something
<samueldr> though hydra evals for the past two days still have jobs queued
<globin> I restarted some openssl-1.1 builds
drakonis has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 264 seconds]
<lopsided98> Can someone take a look at and perhaps merge https://github.com/NixOS/nixpkgs/pull/61655 ?
<{^_^}> #61655 (by lopsided98, 10 weeks ago, open): g2o: build g2o_viewer, libqglviewer: 2.6.3 -> 2.7.1
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
<{^_^}> #65633 (by ivan, 1 day ago, open): chromium: 75.0.3770.90 -> 76.0.3809.87
<ivan> nobody's tested the backport yet
<ivan> thanks
<samueldr> I have started the build locally for the three chromiums on stable
<ivan> thank you
<samueldr> I'll try to remember to test them when I wake up tomorrow
drakonis has joined #nixos-dev
justanotheruser has joined #nixos-dev
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
layus has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.4]
FRidh has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos-dev
__monty__ has joined #nixos-dev
__monty__ has joined #nixos-dev
__monty__ has quit [Changing host]
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos-dev
psyanticy has joined #nixos-dev
justan0theruser has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]
Moredread[m] has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis1 has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
orivej has joined #nixos-dev
drakonis has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 258 seconds]
<gchristensen> regnat and I have recently submitted a PR to add a post-build-hook to Nix, which adds a built-in hook for uploading to the binary cache or other interesting use cases: https://github.com/NixOS/nix/pull/2995 here is an example of its use: https://asciinema.org/a/TiyCK57ms996r6EeLs1k1NYsa
<{^_^}> nix#2995 (by regnat, 2 weeks ago, open): Add a post build hook
orivej has joined #nixos-dev
__monty__ has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 268 seconds]
<adisbladis> Oh hell yes
<gchristensen> https://asciinema.org/a/JGe4UHRYMfj554e34gE97h45v a slightly nicer example
orivej has joined #nixos-dev
<simpson> gchristensen: Can I share the PR? I won't share the screencaps.
<gchristensen> https://asciinema.org/a/JGe4UHRYMfj554e34gE97h45v you can share this :)
<gchristensen> and the PR. all public
<simpson> Cool, thanks.
<gchristensen> gladly!
<yorick> gchristensen: does that require a trusted user?
<thoughtpolice> gchristensen: Awesome.
<gchristensen> yorick: a sample rendering of the docs, which hopefully will answer all of your questions: http://gsc.io/post-build-hook-man/manual.html#conf-post-build-hook http://gsc.io/post-build-hook-man/manual.html#chap-post-build-hook
__monty__ has joined #nixos-dev
<gchristensen> if you loaded it already, please reload as I just pushed a typo fix
<yorick> thanks!
<gchristensen> and if you have questions, please post them to the PR
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
__monty__ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
__monty__ has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
johnny101m has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
<pie_> Reasonable to extend writeTextFile and its dependents in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/trivial-builders.nix to take ... ?
<pie_> also what do you guys think about encouraging people to add documentation files to indivudual packages, for example about build quirks and whatnot? stuff that doesnt necessarily need to be in the main manual
psyanticy has quit [Quit: Connection closed for inactivity]
<thoughtpolice> gchristensen: I have cached 404s working :)
<gchristensen> !
<gchristensen> will have to look in a bit
<gchristensen> finishing off nixos office hours things
drakonis_ has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 250 seconds]
<pie_> I really want this https://github.com/NixOS/nix/issues/2998, what do?
<{^_^}> nix#2998 (by deliciouslytyped, 2 weeks ago, open): Named ellipses
drakonis1 has joined #nixos-dev
<infinisil> pie_: Implement it? :)
<pie_> infinisil: well im poking around the code but it would probably be like an hour for someone that actually has a clue :(
<pie_> infinisil: I haven't touched any of these toolchains much so its scary
<pie_> (let alone doing language hacking)
johnny101m2 has joined #nixos-dev
johnny101m has quit [Ping timeout: 246 seconds]
FRidh has quit [Quit: Konversation terminated!]
<pie_> well, i made some more comments on the issue asking for pointers
<gchristensen> 0x....ohwhatever
<pie_> :PP
* pie_ points gchristensen to 0x0
<ivan> samueldr: ping re: chromium chromiumBeta chromiumDev
<samueldr> completely forgot to check, thanks
<{^_^}> #65635 (by ivan, 2 days ago, open): [19.03] chromium: 75.0.3770.90 -> 76.0.3809.87
<samueldr> yes, I meant to check the resulting build
drakonis1 has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos-dev
__monty__ has quit [Quit: leaving]
justan0theruser is now known as justanotheruser
drakonis has quit [Ping timeout: 276 seconds]
<qyliss> gchristensen: I think soft-deprecating would be fine
<qyliss> We shouldn't introduce fixed outputs into nixpkgs without careful consideration of whether the software in the closure could ever change the output but still be considered correct, as was the case with cargoSha256
<gchristensen> yes!
aanderse has joined #nixos-dev
<gchristensen> having a "oh this adds a new f-o fetcher! this needs extra review!" is good
* samueldr thinks about the fonts with FOD
<gchristensen> but I think eelco's plan was actually to remove them from the language :)
<pie_> eelco seems to like moving things into the evaluator?
<pie_> *interpreter
<gchristensen> what makes you say that?
<pie_> It just kind of feels like that from random browsing I've done, but I'm not sure it's true.
<gchristensen> right
<gchristensen> well if you want to guarantee an expression isn't sneaking around purity rules, making it impossible is a good way to do it
<pie_> sure
<gchristensen> is more where he's coming from
<pie_> but I would prefer the language support impurity in a well controlled flexible manner as opposed to no user expandability
<gchristensen> okay
<pie_> ok to be clear im saying i want to be able to do controlled impure stuff, but maybe im in the wrong here
<gchristensen> you probably don't want Nix to be involved in doing impure stuff. graph traversals get ugly ugly
<pie_> so do we need another thing on top of nix? :P
<pie_> s/:P//
<qyliss> What sort of use-cases are you thinking of?
<pie_> not sure :(
<qyliss> in other words, what is it that makes you wish you could do impure stuff?
<pie_> I kind of want to just write scripts for everything as opposed to running stuff in a shell
<pie_> maybe thats a bad workflow
<pie_> eh, nevermind, I only have vague inklings here that would be high effort on your parts
<pie_> well I did have that one use case I mentioned earlier, but maybe you can explain what is wrong with it
<pie_> https://github.com/kamilchm/go2nix generates a lock file for a go project and then uses buildGoProject or whatever it was for building it, and I wrote a fixed output derivation that ran go2nix for me and gave me the .nix lock files, which I then used via IFD
<pie_> (lots of hash changing ensues)
<qyliss> Why wouldn't you do a shell script for that?
<qyliss> Ultimately Nix is probably generating a shell script anyway
<pie_> Hm. Maybe it's just preferring Nix as my top level and not a shell script. (?)
<pie_> otherwise I end up reimplementing the nix sandbox
<pie_> ok maybe i just want the sandbox
<samueldr> are you using the nix sandbox to run end-user software?
<pie_> sure why not
<pie_> i run batch jobs with it sometimes that dont need x11
<pie_> blame clever
<pie_> :P
<pie_> *that dont need user interaction (forgot about xvfb for a second there)
<samueldr> ah, yeah, that's fine, data goes in, data goes out
<samueldr> I was thinking more about like... your irc client or some crazy use case
<pie_> yeah i didnt really answer in the spirit of the question
<pie_> hmm i havent tried that yet :P
<samueldr> it wasn't a suggestion :^)
<pie_> "im gonna need more nixbld users"
<pie_> microkernels are for schmucks, need more bind mounts
<pie_> *namespaces (/ i dont even)
<pie_> samueldr: I tried forwarding sockets over cntr but it didnt work