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?
<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
<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
<{^_^}>
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
<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