orivej has quit [Ping timeout: 240 seconds]
<andi-> I am working on updating firefox to 58.0.1.. mainly due to the recently announced security issue within firefox. Since I've never touched firefox before I'd appreciate any input on https://github.com/NixOS/nixpkgs/pull/34436 . Trying to port that same patch to stable now.
infinisil has quit [Ping timeout: 248 seconds]
infinisil has joined #nixos-dev
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos-dev
jtojnar has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
mbrgm has quit [Quit: ZNC 1.6.5 - http://znc.in]
mbrgm has joined #nixos-dev
alunduil has quit [Ping timeout: 256 seconds]
alunduil has joined #nixos-dev
goibhniu has joined #nixos-dev
jtojnar has joined #nixos-dev
orivej has quit [Ping timeout: 248 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<Profpatsch> What’s SimpleDerivation’s args : list<string> do?
<Profpatsch> Are those arguments given to the builder?
<Profpatsch> Ah, is it exactly the derivation’s args attribute?
goibhniu has quit [Remote host closed the connection]
<gchristensen> probably
goibhniu has joined #nixos-dev
orivej has joined #nixos-dev
<fpletz> niksnut: we have some hanging jobs again in nixpkgs:trunk that prevent the channel release of nixpkgs-unstable: https://hydra.nixos.org/status, i.e. https://hydra.nixos.org/build/68027420
FRidh has quit [Quit: Konversation terminated!]
<andi-> Has anyone more context regarding https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 where it was stated that we could actually use official firefox branding but never did that (besides for the tor-browser-like versions)
<gchristensen> I got official permission about a year ago from Mozilla but when I tried to make the email public they got cold feet
<gchristensen> from that comment we have sufficient permission to do it, you should copy the comment in to the nix expression, say it was from Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756
<niksnut> fpletz: I've killed them
jtojnar has joined #nixos-dev
FRidh has joined #nixos-dev
__Sander__ has joined #nixos-dev
ma27 has joined #nixos-dev
ma27 has quit [Client Quit]
ma27 has joined #nixos-dev
ma27 has quit [Client Quit]
ma27 has joined #nixos-dev
ma27 has quit [Client Quit]
<andi-> gchristensen: good idea, I'll do that as followup of 58.0.1 bump. It will be yet another rebuild but we'll have clear separation of concenerns with those changes (& PRs)
<gchristensen> good idea
<fpletz> niksnut: thanks
<fpletz> andi-: +1
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-dev
<domenkozar> hmm
{^_^} has quit [Remote host closed the connection]
<domenkozar> still can't get headphones to work with pulseaudio
{^_^} has joined #nixos-dev
<domenkozar> the bar goes up and down for builtin audio
<domenkozar> but no sound comes out of headphones
FRidh has quit [Remote host closed the connection]
<domenkozar> alsamixer: https://imgur.com/a/llRUc
<fpletz> domenkozar: noticed that too :(
<fpletz> thought it was a local problem
<domenkozar> ah, it's not just me!
<gchristensen> not to detract from the convo, but this might be better for #nixos (I have it too)
<fpletz> domenkozar: are you also on master?
<fpletz> gchristensen: yeah :)
<domenkozar> no, I'm on 17.09
<domenkozar> 17.09.2875.c2b668ee726
MichaelRaskin has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
jtojnar_ has joined #nixos-dev
Sonarpulse has joined #nixos-dev
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-dev
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-dev
goibhniu has quit [Ping timeout: 248 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
jtojnar has quit [Quit: jtojnar]
<domenkozar> \o/
alunduil has quit [Ping timeout: 246 seconds]
alunduil has joined #nixos-dev
<Profpatsch> \o/
FRidh2 has joined #nixos-dev
<Sonarpulse> gchristensen: wooo!
<Sonarpulse> so February is the tentative plan too?
ma27 has joined #nixos-dev
<niksnut> yes
<gchristensen> peti: please PM me if you're around and available :) I'd love about 5-10 minutes of your time
<Sonarpulse> niksnut: \o/
<gchristensen> ofborg is incorrectly marking PRs as failing, I'm working on triage and a resolution. sorry
<Sonarpulse> gchristensen: lmk what the fix ends up being
<Sonarpulse> as I am soon going to change release-lib a bit
<gchristensen> ok
<gchristensen> so the problem seems to stem from me setting supportedSystems to [ "x86_64-linux" ] for eval, which was probably not correct for the instantiations
<gchristensen> (definitely not correct ;))
ma27 has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos-dev
<Sonarpulse> gchristensen: hmm I would have thought that would be fine for x86_64-linux builds at aleast
<gchristensen> it is for build, but not eval-time
<gchristensen> ie: the checks that run on every PR check across all platforms we support
<dtz> nix 2.0?! :D
<Sonarpulse> gchristensen: ah ok
s33se has joined #nixos-dev
jtojnar has joined #nixos-dev
s33se has quit [Quit: WeeChat 2.0]
FRidh2 has quit [Quit: Konversation terminated!]
<Sonarpulse> LnL: with https://github.com/NixOS/nixpkgs/pull/34444 wont' need to change meta.platforms for darwin-to-linux
s33se has joined #nixos-dev
<LnL> oh neat, I was wondering about that
<LnL> meta.platforms = unix + assert targetPlatform.isLinux seemed kind of strange
<Sonarpulse> LnL: indeed :D
<LnL> similarly, having a different error message for platforms vs broken would also be nice
s33se has quit [Client Quit]
s33se has joined #nixos-dev
<Sonarpulse> LnL: future work :P
<Sonarpulse> is there a summer of code thing for nix?
<Sonarpulse> I'd like to propose building gcc libraries separate from executables
<Sonarpulse> llvm/clang should be easier
<Sonarpulse> and then we can dramatically simplify darwin bootstrapping i think
<Sonarpulse> but I'd like to do the same for linux
<Sonarpulse> dtz: did you ever look at the WIP llvm/clang commit I sent you?
<dtz> Sonarpulse: no, sorry! Just got back from travelling, backlogged a bit. But TY! Will be useful once I get to that point :)
<Sonarpulse> dtz: no worries! hope the trip was fun
<dtz> Sonarpulse: would you be mentor, student, or possibly both? haha :D
<Sonarpulse> dtz: heh mentor i guess
<Sonarpulse> I'm a student no longer so no soc $s for me
<dtz> I'm a student still! Mentor me? :D ;)
<LnL> look at the mailing list, there's a list of ideas somewhere IIRC
<dtz> and it's nice to stay open to folks not already in our community, although not a requirement of course :)
<dtz> ooooooo 2.0 in 18.03?! :D :D
ma27 has quit [Ping timeout: 276 seconds]
<dtz> Nix 1.12 -> Nix 2.0; default in 18.03?! :D
<Sonarpulse> dtz: :D
<Sonarpulse> i forgot if you were phd or post-doc
<Sonarpulse> neat hack :D
alunduil has quit [Ping timeout: 264 seconds]
alunduil has joined #nixos-dev
s33se has quit [Quit: WeeChat 2.0]
orivej has joined #nixos-dev
<catern> hmm, I was thinking of adding logging to the nix-daemon, but I had a couple concerns. 1: Should the nix-daemon log in plain text or in some structured format? 2: Should the logging be implemented by nix-daemon itself, or by a separate tool that snoops on nix-daemon communications and summarizes them?
<catern> 3: If the nix-daemon logs in plain text to stderr, how do we differentiate different users and sessions which might be interleaved?
<catern> I should make an issue
s33se has joined #nixos-dev
<gchristensen> niksnut: not being an american, you may not know the history of this gif, but her it is anyway: http://www.reactiongifs.com/r/2013/05/Ron-Paul_Its-Happening1.gif
<samueldr> would it be relevant to change how the daemon treats build logs? is there a way to keep them more truthful with regards to how the build process themselves logs to stdout/stderr?
<niksnut> gchristensen: heh
michaelpj_ has joined #nixos-dev
<catern> samueldr: hmm, I actually have no idea how the build logs stuff works :) is there any docs about it?
<catern> more specifically I don't know how Hydra build logs work
<catern> does it work by connecting to the Nix daemon and reading the STDERR_NEXT messages like the normal Nix client does?
<catern> if that's how it works, then no, I think it's fine as it is
<samueldr> I have next to no idea how nix works internally :(
<catern> ah, heh :)
<catern> samueldr: well, what's your concern about how the daemon treats build logs?
<catern> internally I believe it just merges stdout and stderr into the same stream (or possibly just passes the same pipe to the build process for both stdout and stderr) and then sends that single stream to the client
<catern> which seems fine
<catern> since it's just for debugging anyway
<samueldr> from what gchristensen said when working on the log thing for ofborg, let's say that `make` outputs one line to stdout, then the other to stderr, there is no way to know on which output the line was sent, as the nix daemon logs them both at the same location
<catern> ah, sure
<catern> is that... a problem?
<samueldr> (though, outputs are *not* line oriented things)
<samueldr> it's metadata about the build log that may have a meaning
<catern> sure, but it's ultimately just debugging output
<catern> so if there's no concrete use case, I don't see why it would need to be changed
<samueldr> it's highly dependent of the thing being built though, but when reading a huge log, if it was possible to highlight stderr vs. stdout, it could (and could also not) be helpful
<catern> ah
<samueldr> the idea being that it is truthful to what the build process did
<catern> well, it's not impossible
<catern> the Nix protocol (from my understanding of it) could support sending separate messages for stdout and stderr logs
<samueldr> I personally had the question months ago too when I wanted to look at what my builders were doing without ssh-ing into the machine that started the build, when doing a remote build
<catern> (and it wouldn't be that hard)
<samueldr> oh, neat
<catern> so I guess the question is, would a daemon-level functionality for logging make this unnecessary?
<catern> hmmm... no, I don't think so
<samueldr> it probably depends where lies the responsibility of consuming the build logs I guess
<catern> in a multi-user system, the daemon's logs would probably be private
<catern> likewise in a multi-host system where there's a single central daemon for multiple servers
<catern> it's more functional to have the debug logs be part of the Nix protocol as they currently are
<catern> if the debug logs weren't already part of the Nix protocol, maybe it would be up for debate whether some other out-of-band channel should be provided for debug logs, and maybe that out-of-band channel could be integrated with a daemon-level logging functionality. but since debug logs *are* part of the Nix protocol currently...
<samueldr> I may also be misunderstanding what was asked, my query was about the build output of a build, and not the log of nix code itself
<catern> right
<catern> yes, that's my understanding of your query
<catern> niksnut: btw, if we are planning on releasing 2.0 soon, could you merge https://github.com/NixOS/nix/pull/1801 before that? that would be very very helpful for evolving Nix functionality without waiting for a new release
<catern> so I want to make sure I don't have to wait another couple years to get it into a release :)
<niksnut> done
<gchristensen> catern: can you send a PR adding docs for that?
<catern> gchristensen: yes, will do
<gchristensen> thanks
<gchristensen> !
<catern> (thank you for reminding me actually, there is also a comment that lists the different NIX_REMOTE values which I meant to update)
<gchristensen> nice
<Sonarpulse> gchristensen: https://github.com/NixOS/nixpkgs/pull/34474 does ofborg not work when nixpkgs is already broken?
<Sonarpulse> *but* the current PR fixes it
<Sonarpulse> (I know it fails the PR when the current one is broken and it doesn't fix it, that's fine.)
<gchristensen> Sonarpulse: unfortunately so: https://github.com/NixOS/ofborg/issues/25
<Sonarpulse> gchristensen: thanks
<gchristensen> a good thing though is it hasn't happened much since that issue was opened... :)
<MichaelRaskin> I still remember when it was channels, not binary cache, and any failure inside the Hydra set meant no binary package updates at all.
<Sonarpulse> gchristensen: indeed a great sign that it hasn't been needed :)
michaelpj_ has quit [Read error: Connection reset by peer]
<catern> gchristensen: actually, where do you recommend it be documented? other than that comment in the code
<catern> there is no documentation I see for any NIX_REMOTE values
<catern> (other than daemon)
<gchristensen> ahh... would you mind adding a small (possibly even tiny) section?
<catern> sure, would be fine :)
<gchristensen> awesome. thank you
michaelpj_ has joined #nixos-dev
michaelpj_ has quit [Read error: Connection reset by peer]
michaelpj_ has joined #nixos-dev
michaelpj_ has quit [Read error: Connection reset by peer]
<catern> hmm, all the URIs can also be passed on the command line in nix2, right? hmm... maybe it
<catern> should be an entirely separate section focused on URIs... though I've never used them in nix2
<gchristensen> I wouldn't overthink it too toto much
michaelpj_ has joined #nixos-dev
<catern> well, I'm tempted to make a new chapter under "Advanced Topics"
<catern> like "Store URIs"
michaelpj_ has quit [Ping timeout: 260 seconds]
<catern> ok nah https://git.io/vNdvC
<Sonarpulse> I hope I didn't make eval that much worse in my PR :)