<dtzWill>
aw man lazy fetching of store paths would be magical haha
<dtzWill>
supports a number of use-cases that might otherwise require tedious bindings with libnixstore (not criticizing its API or anything, at all, just that using this command is a lot easier than such writing/maintaining such :D)
orivej has quit [(Ping timeout: 252 seconds)]
orivej has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
phreedom has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
Sonarpulse has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Client Quit)]
FRidh has joined joined #nixos-dev
<dtzWill>
re:glibc 2.26, using the PR branch and able to build through llvm/clang and build things with it.. I'd say it's a win! :)
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined joined #nixos-dev
orivej has quit [(Ping timeout: 248 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Client Quit)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
pie_ has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Client Quit)]
FRidh has joined joined #nixos-dev
pie_ has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
pie_ has joined joined #nixos-dev
pie_ has quit [(Ping timeout: 272 seconds)]
FRidh has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
capisce has quit [(Read error: Connection reset by peer)]
capisce has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
pie_ has joined joined #nixos-dev
taktoa has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
capisce has quit [(Read error: Connection reset by peer)]
capisce has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<aminechikhaoui>
huh interesting niksnut :)
MichaelRaskin has quit [(Quit: MichaelRaskin)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
Mic92 has quit [(Ping timeout: 252 seconds)]
vcunat has joined joined #nixos-dev
__Sander__ has joined joined #nixos-dev
phreedom has quit [(Ping timeout: 252 seconds)]
Mic92 has joined joined #nixos-dev
FRidh has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
phreedom has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<vcunat>
These e-mails from Hydra, notifying about events that are at least several weeks old... that's really strange. I've heard I'm not the only one recieving them. Fortunately there aren't too many of them, at least not for me.
ma27 has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 252 seconds)]
ma27 has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 246 seconds)]
ma27 has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 240 seconds)]
<aszlig>
gchristensen: did it bring any improvements to the table? =)
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
vcunat has quit [(Ping timeout: 272 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
vcunat has joined joined #nixos-dev
FRidh has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
goibhniu has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
__Sander__ has quit [(Quit: Konversation terminated!)]
__Sander__ has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
contrapumpkin has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
taktoa has quit [(Ping timeout: 248 seconds)]
contrapumpkin has joined joined #nixos-dev
goibhniu1 has joined joined #nixos-dev
taktoa has joined joined #nixos-dev
FRidh has quit [(Remote host closed the connection)]
<vcunat>
heh, I later remembered that even though staging eval was fixed, the PR remained based the old staging version so probably wouldn't evaluate anyway
<gchristensen>
it would re-merge with a newer version of staging :)
<vcunat>
ah
<vcunat>
better than I expected
<gchristensen>
w00t! I'm so glad :D
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<vcunat>
anyway, for that PR I'll now wait how the patch discussion turns out
<andi->
gchristensen: kk, the intro to that PR only listed single options (in the "new" format) so I thought you might have removed that
<gchristensen>
ahh no
<gchristensen>
also, I've noticed people don't use ofborgs `test` capabilities much
yegortimoshenko has joined joined #nixos-dev
<andi->
gchristensen: I actually thought about testing with it a few times and I think there should be a way to "discover" tests for a package or packages that contian tests but depend on the stuff that was changed..
<andi->
not sure how one would model that in nix currently... I could imagine running tests for all affected packages/services/… would be a cool (and cpu intensive) operation
<gchristensen>
hmm yes that would be cool, similar to a command I would like to support, `build-sample` which builds, say, 5 packages changed due to the PR
<andi->
(random packages ;-)
<gchristensen>
well so I have a drv parser, so I was wanting it to be smart, rebuilding at least the most deeply changed package
<gchristensen>
parsing the changed drvs and making a tree of changed packages, and picking the roots.
<gchristensen>
(this is part of why the feature doesn't exist yet)
<Dezgeg>
you can actually query the full tree in xml format, IIRC
<Dezgeg>
but apparently I've been too lazy to write what the command actually is and just reads the XML from "/tmp/j"
<Dezgeg>
nix-store --query --xml, I think
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
ma27 has quit [(Quit: WeeChat 2.0)]
ma27 has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
yegortimoshenko has joined joined #nixos-dev
<gchristensen>
hmm several builds on the packet t2 have been running for >2d, some for >8d
<gchristensen>
O.o one for 14d
<vcunat>
yeah, typical on Hydra these months
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<vcunat>
uh, packet-t2-4 is very much swamped by that ATM. Let my try to free it up a bit.
ma27 has quit [(Quit: WeeChat 2.0)]
<vcunat>
cancelling all of them didn't help apparently :-(
<gchristensen>
I can take some action on the box in a few minutes
ma27 has joined joined #nixos-dev
<fpletz>
gchristensen: killing the nix build processes helps, or restart restarting the queue runner on hydra
<fpletz>
we have similar problems on our hydra :/
<gchristensen>
todo: monitoring
<gchristensen>
nix-store --serve --write
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<gchristensen>
ok I killed a bunch of things
<vcunat>
Seems much healthier now.
<vcunat>
Hopefully it will be filled with jobs again soon.
Mic92 has quit [(Quit: WeeChat 2.0)]
<vcunat>
One 14-hour build remained, but one doesn't matter.
<gchristensen>
I only killed nix-store --serve processes
<gchristensen>
niksnut: what if we got your deploy repo setup so you can include these two nodes in your regular deploy so they keep up to date with nixUnstable
<gchristensen>
I'm off work today, so I'm much more available during CET hours
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<copumpkin>
bgamari: so glad to have you on board :)
<bgamari>
thanks copumpkin :)
<bgamari>
I'm happy to be able to use such a well designed piece of software
<gchristensen>
it seems the aarch64 builder took a fall a couple days ago too, I wonder if a network problem caused it
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined joined #nixos-dev
Mic92 has joined joined #nixos-dev
__Sander__ has quit [(Quit: Konversation terminated!)]
vcunat has quit [(Quit: Leaving.)]
ma27 has quit [(Ping timeout: 246 seconds)]
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
contrapumpkin is now known as Social-Justice-D
Social-Justice-D is now known as King-of-SJW
King-of-SJW is now known as contrapumpkin
ma27 has joined joined #nixos-dev
<bgamari>
hmm
<bgamari>
unfortunately somehow a target suffix is creeping fetched python zip source names
<bgamari>
e.g. /nix/store/vrna2vhjpn42j9pk0ibcj01hz0nx6h1v-setuptools-36.7.1.zip-armv7l-unknown-linux-gnueabihf
ma27 has quit [(Ping timeout: 272 seconds)]
<bgamari>
which then breaks unzip's setupHook
ma27 has joined joined #nixos-dev
contrapumpkin is now known as sn0wflake
sn0wflake is now known as c0ntrapumpkin
ma27 has quit [(Ping timeout: 252 seconds)]
Sonarpulse has joined joined #nixos-dev
<Sonarpulse>
I wish hydra distinguished between failed and aborted better
<Sonarpulse>
so it's fine to have a build != host fetch thing with non-modified name
<Sonarpulse>
but if there is any buildInputs in a fixed output derivation
<Sonarpulse>
we should be using the buildPackages version of it
<Sonarpulse>
to ensure that buildInputs are also native packages
<bgamari>
the thing that is suffixed here is a src
<Sonarpulse>
yeah
<Sonarpulse>
what I was saying earlier was me getting confused that host != target packages get suffixed
<Sonarpulse>
that's not true
<Sonarpulse>
only build != host
<Sonarpulse>
so choices are 1) what we do today, ensure build != host for all fetch* attributes
<bgamari>
you mean build == host?
<Sonarpulse>
yeah
<Sonarpulse>
oops
<Sonarpulse>
2) ensure per-fixed output derivation that host doesn't matter, so that build != host is fine, and don't need to hack in buildPackages
<Sonarpulse>
also as to GHC note, i forget what that is
<Sonarpulse>
is it something more than just documentation?
<Sonarpulse>
the cross-elegant PR does beef of the manual
<Sonarpulse>
but i wanted to add a final section of the cross chapter that just like steps through everything
<bgamari>
Sonarpulse, well, it's extended form documentation
zarel has joined joined #nixos-dev
<Sonarpulse>
ok
<bgamari>
but is less user documentation and is more implementation centric
<Sonarpulse>
gotcha
<Sonarpulse>
yeah we do need to split nixpkgs manual into user vs implementation
<bgamari>
so it's not clear to me which of these approaches makes more sense
<bgamari>
my original idea was to simply accept the fact that the derivation name is not a proper file name
<bgamari>
and simply record the original filename
<bgamari>
which the setup hook can then look at
<bgamari>
e.g. fetchurl would attach an fileName attribute to the derivation
<bgamari>
that it produces
<bgamari>
which unpackers could then look at
<Sonarpulse>
bgamari: that does seem like a good thing regardless :)
<Sonarpulse>
but getting rid of suffixes might also be important for caching purposes
<Sonarpulse>
can't trust nix implementation to be sane! :/
<bgamari>
mm
<bgamari>
that is fair
<bgamari>
I'm going to try to push the fetchurl change through
<bgamari>
since it is something that I know how to do ;)
FRidh has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Client Quit)]
FRidh has joined joined #nixos-dev
<gchristensen>
Sonarpulse: what do you mean?
<Sonarpulse>
bgamari: ok!
<Sonarpulse>
gchristensen: with what?
<Sonarpulse>
the "sane" comment?
<gchristensen>
not trusting nix
<Sonarpulse>
oh just lots of low hanging fruit
<Sonarpulse>
in terms of perf
<Sonarpulse>
correctness it is fine
<gchristensen>
ahh
<Sonarpulse>
but like the in-memory hashing thing bgamari brought up yesterday
<gchristensen>
maybe you're just the people for the job!
<gchristensen>
:)
<Sonarpulse>
hehe one project at a time, gchristensen!
<gchristensen>
same feeling :P
<bgamari>
Sonarpulse, hmm, actually, if I did attach such an attribute to the source derivation, how would I access it from the setup hook?
<Sonarpulse>
bgamari: uhhhh not sure
* bgamari
is still quite hazy on exactly what variables are in scope in builders and hooks
<Sonarpulse>
the only way to get information from a dependency in bash
<Sonarpulse>
is to read it from a file
<Sonarpulse>
stdenv's setup script ultimately gets the info from that
<bgamari>
unfortunately the only file we have is $src
<Sonarpulse>
there is ways to do it in nix, of course, but that is quite a change from the setup hooks
<bgamari>
which isn't the derivation
<Sonarpulse>
bgamari: yeah i think making the cross adapter special case fixed output derivations will be easier :/
<bgamari>
hmm, alright, perhaps this won't work afterall
<bgamari>
yes, it seems like it
<Sonarpulse>
bgamari: pkgs/build-support/fetch*
<Sonarpulse>
if you look at those, you can figure out what makes a derivation fixed output
<Sonarpulse>
I don't know off hand, actually
<Sonarpulse>
but there are some outputHashMode things
<Sonarpulse>
nix manual might say
<Sonarpulse>
(to be clear, i think it's very easy to do something that will mostly work, just a little bit more reading to do something that works in all cases)
<Sonarpulse>
then pkgs/stdenv/adapters.nix is the actual cross stdenv adapter
FRidh has quit [(Quit: Konversation terminated!)]
<Sonarpulse>
and pkgs/top-level/splice.nix has the soon-to-be-unneeded splicing
FRidh has joined joined #nixos-dev
<Sonarpulse>
all you got to do in the adapter is a) don't change the name b) make sure there are no (propagated)buildInputs, just native
<bgamari>
right
<Sonarpulse>
I'd chip in myself, but got some other work I should be doing
<bgamari>
Sonarpulse, is the name changing logic not in adapters.nix?
<Sonarpulse>
bgamari: oh, maybe it moved it to pkgs/stdenv/make-derivation.nix
* Sonarpulse
wants to get rid of the cross adapter
<Sonarpulse>
there's no reason pkgs/stdenv/make-derivation.nix and pkgs/stdenv/cross/default.nix aren't sufficient for everything we need
<gchristensen>
anyone here know the impact of nss and nspr updates? I'd like to merge this ASAP. any reason to wait? https://github.com/NixOS/nixpkgs/pull/32956 cc fpletz, domenkozar, niksnut, Sonarpulse, clever
<gchristensen>
^ on 17.09
<bgamari>
Sonarpulse, right
<Sonarpulse>
bgamari: we're actually quite close to getting rid of it too
<Sonarpulse>
I can get rid of the propgated stuff with your binutils patch
<Sonarpulse>
and move in the extra file and gnu-config update deps
<Sonarpulse>
I think cross-elegant could do it
<bgamari>
Sonarpulse, gchristensen, would either of you mind if I posted this conversation on the ticket?
<gchristensen>
I don't mind
<Sonarpulse>
sounds good to me!
<Sonarpulse>
gchristensen: I don't have a qualified opinion on the firefox stuff, but looks good to me!
<Sonarpulse>
bgamari: thanks!
<fpletz>
gchristensen: looks like the right direction imho
<gchristensen>
"forward"? :)
<fpletz>
yeah, I mean not update rust in 17.09 but backport a recent version :)
<gchristensen>
yeah
<fpletz>
one sec, let me review the code
<fpletz>
and as for nss, nspr updates, we have to check the changelog and see if everything compiles
<gchristensen>
ok
<fpletz>
they should be painless though
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
* bgamari
needs to start coming up with a plan to up-stream his cross changes
<bgamari>
Sonarpulse, it should be safe to rebase onto master, yes?
<Sonarpulse>
bgamari: rebase which?
<Sonarpulse>
oh your changes?
<bgamari>
yep
<Sonarpulse>
bgamari: yeah
<Sonarpulse>
but let's coordinate
<Sonarpulse>
i have kept on rebasing my old version of your branch on cross elegant
<Sonarpulse>
it might be informative to see if we resolved conflicts any different
<Sonarpulse>
bgamari: did you fix guile by any chance?
<bgamari>
hmm
<bgamari>
well, it crosses
<bgamari>
I'm trying to remember what I did
<bgamari>
perhaps I just did a version bump?
<Sonarpulse>
bgamari: I only ask
<Sonarpulse>
because it is the last use of selfNativeBuildInput
<Sonarpulse>
bgamari: ah yes you did!
<pbogdan>
gchristensen: I'm running nox-review on that PR but that's gonna take a long time on the hardware I have available
phreedom has quit [(Remote host closed the connection)]
phreedom has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
<dtzWill>
pbogdan: oh yay glad it's not just meeeeee! If maintainer doesn't respond in X weeks we might want to just patch it in nixpkgs (we already apply one patch)...
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
pie_ has quit [(Ping timeout: 265 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Client Quit)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Remote host closed the connection)]
FRidh has joined joined #nixos-dev
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined joined #nixos-dev
profpatsch is now known as Profpatsch
FRidh has quit [(Remote host closed the connection)]