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
ajs124 has left #nixos-dev [#nixos-dev]
drakonis has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
zimbatm has quit [Ping timeout: 264 seconds]
manveru has quit [Read error: Connection reset by peer]
ghuntley has quit [Ping timeout: 252 seconds]
manveru has joined #nixos-dev
manveru has quit [Max SendQ exceeded]
asymmetric| has joined #nixos-dev
ghuntley has joined #nixos-dev
manveru has joined #nixos-dev
zimbatm has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
ghuntley_ has joined #nixos-dev
ghuntley has quit [Ping timeout: 250 seconds]
ghuntley_ is now known as ghuntley
asymmetric| has quit [Remote host closed the connection]
asymmetric| has joined #nixos-dev
asymmetric| has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
asymmetric| has joined #nixos-dev
ajs124 has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
asymmetric_ has joined #nixos-dev
asymmetric| has quit [Ping timeout: 252 seconds]
asymmetric_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
arianvp has quit [Quit: WeeChat 2.4]
arianvp has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
pie_ has joined #nixos-dev
<domenkozar> does andersontorres hang around here?
<gchristensen> I think in #nixos as atorres1985, Laboon3k, and atorres_
init_6 has joined #nixos-dev
<domenkozar> thanks!
orivej has joined #nixos-dev
<pie_> does anyone know how to set breakpoints on nix? gdb is going right over my breakpoints and its probably because I dont know how to deal with multiprocessing stuff in gdb?
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 258 seconds]
<pie_> im trying to figure out what arguments doBind gets https://github.com/NixOS/nix/blob/41ba5135e0a2d9940c4e8cbedff44eb1a47af782/src/libstore/build.cc#L2663 from dirsInChroot
<aminechikhaoui> pie_ are you attaching gdb to the nix-daemon ?
<pie_> ok looks like at least someone else has my issue under similar circumstances https://github.com/NixOS/nix/issues/2605
<{^_^}> nix#2605 (by KaiHa, 15 weeks ago, open): Empty string in dirsInChroot.second.source (with nix build from source)
<pie_> aminechikhaoui, im doing the following https://bpaste.net/show/fca5035964d5
<pie_> aminechikhaoui, idk much about gdb so those option sets are just me trying to shotgun make it work without knowing what im doing based off google
<pie_> (and it doesnt work=
<pie_> aminechikhaoui, sorry that doesnt answer the question, im debugging nix-build
<pie_> i gues your question makes sense
<pie_> the context is that this is using the debian package from https://github.com/KaiHa/nix-debian
<aminechikhaoui> pie_ so if it's a multi-user installation, I guess you'd need to attach to the nix-daemon
<aminechikhaoui> you'll still need set follow-fork-mode child iirc
<pie_> aminechikhaoui, yeah i guess that makes sense
<pie_> hm
ajs124 has left #nixos-dev [#nixos-dev]
ajs124 has joined #nixos-dev
Cale has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 264 seconds]
Cale has joined #nixos-dev
<pie_> ok well i made some progress
<pie_> now i need to figure out how to get gdb to give me my repl back at a certain point so i dont kill the thread to do something else...
<pie_> I get to executing builder '/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash' and then gdb wont give me back my repl
<pie_> ^C doesnt work
orivej has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-dev
<pie_> yeah i keep getting suck there...
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 246 seconds]
tilpner_ has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
thefloweringash is now known as thefloweringash_
<pie_> i might have to resort to printf debugging...
init_6 has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
tilpner_ is now known as tilpner
Synthetica has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
<samueldr> those with access to the logs of the channel updates script: is there an issue with channel updates?
<samueldr> from a quick glance, it looks like it should have been updating?
<gchristensen> yep
<pie_> aminechikhaoui, with some non-gdb-based searching i managed to form a hypothesis and https://aur.archlinux.org/packages/nix/ seems to configm
<pie_> confirm
<aminechikhaoui> gchristensen that was me who sshed :D
<gchristensen> haha
<aminechikhaoui> didn't know you were on it already
<gchristensen> <3
<gchristensen> that `wall` event is nice
<aminechikhaoui> hehe
zimbatm has quit []
zimbatm has joined #nixos-dev
thefloweringash has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 258 seconds]
pie_ has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos-dev
<samueldr> whatever was done seems to have worked well :) thanks!
<gchristensen> yay :)
<samueldr> (any informations as to what was going on?)
<gchristensen> disk full, 0 bytes fere
<gchristensen> (oops)
<samueldr> that would do it :)
<gchristensen> the system it is on is fairly resource constrained :/
<samueldr> nixos:trunk-combined possible OOM (or unidentified problem) ~05:16 UTC -> https://gist.github.com/samueldr/fa3552b412086259a5764d7ef098b9c0
<samueldr> (NOT a too many heaps)
drakonis1 has quit [Quit: WeeChat 2.3]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 255 seconds]
drakonis_ has quit [Ping timeout: 258 seconds]
<infinisil> Question: If a package A depends on library B from the same person (so they're intended to be updated around the same time), but on both stable and master, A was updated without B, leading to A failing on both channels
<infinisil> Now on master it's clear what to do: Update A and B to the latest version
<infinisil> But on stable, should also the latest version be used?
<infinisil> Because I think it would make the most sense to update B to the oldest version that fixes A's issue
<gchristensen> depends what A and B are, and what the package update brought I think
<infinisil> Here A=usbmuxd, B=libusbmuxd,libimobiledevice, A was updated in #54953 (apparently without anybody having tested it), which lead to https://github.com/libimobiledevice/usbmuxd/issues/95 due to being incompatible with the older B
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54953 (by arilotter, 10 weeks ago, merged): usbmuxd: 2018-07-22 -> 2018-10-10
<{^_^}> libimobiledevice/usbmuxd#95 (by guywithface, 27 weeks ago, closed): Reciving lockdown error -8 (LOCKDOWN_E_MUX_ERROR) on latest push to master
<gchristensen> ack
<gchristensen> for something so close to the edge with few users, I'd just upgrade it
<gchristensen> just my $0.02
<infinisil> Yeah that's probably good, especially because usbmuxd (and related) don't have any recent versions, we use master revisions for all of them
<infinisil> I mean, it doesn't have any recent releases
pie_ has joined #nixos-dev
<samueldr> I agree towards upgrading especially considering it's close to the edge and doesn't work
<infinisil> Just opened #59734 for the updates on master
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59734 (by Infinisil, 2 minutes ago, open): Update libimobiledevice packages, fix usbmuxd
<infinisil> samueldr: gchristensen: You think it would be alright to backport all those updates? I intended to only do libusbmuxd and libimobiledevice, because that's what's needed to fix the issue
<infinisil> But then again, to not cause any further issues, it might be good to update them all at the same time again
<gchristensen> ehh yeah I think so
<infinisil> Yeah sounds good
matthewbauer has joined #nixos-dev
timokau[m] has joined #nixos-dev
orivej has joined #nixos-dev
<infinisil> Where should files the package needs to run go in $out?
<infinisil> I'm thinking of an electron package that has butt loads of random files it needs
<infinisil> $out/lib?
<infinisil> Maybe $out/share/<name>
<infinisil> Eh
<timokau[m]> If its not actually libraries probably not lib, since it may get linked somewhere (such as buildFHSUserEnv)
<infinisil> Yeah
<infinisil> $out/opt?
<timokau[m]> Otherwise any non-standard location is probably fine
<timokau[m]> Apparently /opt is for "Optional application software packages" whatever that means
<timokau[m]> /usr/share is "Architecture-independent (shared) data." so you're probably right with that one
<infinisil> I'd rather not use /usr in Nix
<infinisil> $out/usr that is
<infinisil> Doesn't feel right
<infinisil> I guess /opt is fine
<timokau[m]> Yeah, that's what I meant. Each $out is basically its own little root of a fhs
<timokau[m]> But really it shouldn't matter, you could probably put it in $out/i-love-ktitens
<timokau[m]> As long as its not $out/bin or $out/lib or anything with such special meaning
<infinisil> Alright
<infinisil> My next RFC idea is to lay down conventions on $out paths
<infinisil> (if anybody wants to do this feel free)
<timokau[m]> Is there any need for that?
<infinisil> I feel so
<tilpner> Yes, I never know what to put where
<infinisil> I recently had an encounter with native extensions for firefox and such, and every package just does its own thing with where to put it
<tilpner> Some central convention would be handy
<infinisil> This brings an annoying maintenance burden to whoever wants to use them
<infinisil> Also bash/zsh/fish completions/plugins and all that jazz, we have like 3 "conventions" for each of them
<timokau[m]> Sure certain things that might be used by other packages make sense (like /bin and /lib)
<timokau[m]> But some random file only the package itself uses? I don't see a need for standardization there
<infinisil> timokau[m]: Yeah not for everything of course, but for some things
<timokau[m]> Maybe as a reference, but as a hard policy I can't imagine it getting enforced
<infinisil> Also to make sure packages don't install `$out/share/doc/index.html`
<infinisil> Because that doesn't work well with buildEnv
<timokau[m]> Does any package do that? I'd expect them to default to $PREFIX/share/doc/<my-name>/index.html
pie_ has quit [Ping timeout: 255 seconds]
<infinisil> I think there's something like this for all haskell packages
<tilpner> According to nix-index, there are 6 outputs with a share/doc/index.html
<tilpner> Although 4 of them match saxon*
<infinisil> I think a PR for this would be very nice, could write a tool to enforce this for it
<infinisil> s/PR/RFC
<infinisil> Into nix-review even
<infinisil> Also could clear things up regarding multiple outputs
<infinisil> which is very much related to this
<gchristensen> and ofborg
orivej has quit [Ping timeout: 245 seconds]
<infinisil> Yeah
<gchristensen> ofborg can serve as a powerful tool to nudge people in the right direction
drakonis_ has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
srhb has quit [Quit: ZNC 1.7.2 - https://znc.in]
srhb has joined #nixos-dev
worldofpeace_ has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos-dev
drakonis has joined #nixos-dev
pie_ has quit [Ping timeout: 258 seconds]
drakonis has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos-dev
worldofpeace_ has quit [Quit: worldofpeace_]
worldofpeace has joined #nixos-dev
pie_ has quit [Ping timeout: 258 seconds]
pxc has quit [Quit: WeeChat 2.4]
pxc has joined #nixos-dev
pxc has quit [Quit: WeeChat 2.4]