00:20
jtojnar has quit [Remote host closed the connection]
00:50
jtojnar has joined #nixos-dev
01:25
lassulus_ has joined #nixos-dev
01:28
lassulus has quit [Ping timeout: 245 seconds]
01:28
lassulus_ is now known as lassulus
01:37
sir_guy_carleton has joined #nixos-dev
01:59
init_6 has joined #nixos-dev
02:19
jtojnar_ has joined #nixos-dev
03:59
jtojnar_ has quit [Quit: jtojnar_]
04:19
jtojnar has quit [Remote host closed the connection]
04:31
jtojnar has joined #nixos-dev
06:29
orivej has joined #nixos-dev
06:38
adisbladis has quit [Quit: WeeChat 2.1]
06:38
adisbladis has joined #nixos-dev
06:51
orivej has quit [Ping timeout: 272 seconds]
07:22
<
{^_^} >
#44602 (by mat8913, 6 weeks ago, open): Workaround for issue #44254 (Steam cannot connect to friends network)
07:22
<
{^_^} >
#44254 (by mat8913, 7 weeks ago, open): Steam cannot connect to friends network
07:29
pie__ has joined #nixos-dev
07:31
pie_ has quit [Ping timeout: 260 seconds]
07:36
FRidh has joined #nixos-dev
07:54
orivej has joined #nixos-dev
08:43
vcunat has joined #nixos-dev
09:19
FRidh has quit [Quit: Konversation terminated!]
09:28
orivej has quit [Ping timeout: 244 seconds]
09:48
_rvl has quit [Remote host closed the connection]
09:48
_rvl has joined #nixos-dev
09:52
vcunat has quit [Quit: Leaving.]
11:11
orivej has joined #nixos-dev
11:39
orivej has quit [Ping timeout: 244 seconds]
11:49
jtojnar has quit [Remote host closed the connection]
11:59
jtojnar has joined #nixos-dev
12:14
jtojnar has quit [Quit: jtojnar]
12:27
jtojnar has joined #nixos-dev
13:52
xeji has joined #nixos-dev
13:52
<
gchristensen >
srhb: I gave you the ability to restart jobs
13:52
<
{^_^} >
#44968 (by Ekleog, 5 weeks ago, open): wasm-gc: init at 0.1.6
13:57
<
srhb >
gchristensen: Thanks!
14:12
jtojnar has quit [Quit: jtojnar]
14:12
jtojnar_ has joined #nixos-dev
16:01
<
aszlig >
Mic92: i thought about using "printf '\x7FELF' | cmp -n 4 - somefile" instead
16:01
<
aszlig >
this should quickly terminate for non-ELF files
16:02
<
Mic92 >
aszlig: I thought about not using shell. it is currently terrible slow when scanning large electron apps.
16:04
<
aszlig >
Mic92: same as for games (the original reason why i wrote the hook), especially when they have several gigabytes of assets
16:05
<
aszlig >
Mic92: yah, when looking at the magic file for js, this is quite expensive
16:06
<
aszlig >
Mic92: ah, no... it isn't it's only looking at the first line
16:09
<
aszlig >
but still, eg. if you have a large file: read(3, ..., 1048576) = 1048576
16:09
<
aszlig >
so it reads at least 1 mb off every file
16:10
<
aszlig >
so i'd just do that cmp as i wrote before and then check whether it contains a RTLD
16:14
<
aszlig >
or better: just check whether it has PT_INTERP
16:22
xeji has quit [Quit: WeeChat 2.1]
16:37
jtojnar_ has quit [Quit: jtojnar_]
16:38
jtojnar has joined #nixos-dev
16:50
<
aszlig >
Mic92: can you check whether this patch works for statically compiled elfs?
16:52
<
aszlig >
this should now also be much faster identifying ELF files
17:43
<
clever >
aszlig: beware of UPX, it claims to be a static ELF, but then uncompresses a dynamic ELF and fails on nixos
17:45
<
aszlig >
clever: yeah, but that's probably not something we need to take care of in autoPatchelfHook
17:45
<
aszlig >
otherwise we'd need to recursively look into archives as well
17:46
<
aszlig >
for UPX and others, this usually is something that runs in unpackPhase
17:47
<
aszlig >
(or even later, but i don't think at fixupPhase)
17:48
<
clever >
aszlig: what is the main goal of that hook? since the cc-wrapper sets rpath automatically
17:49
<
aszlig >
clever: the main goal is that it automatically does patchelf on all executables and finds the dependencies according to buildInputs
17:49
<
aszlig >
clever: so this is only needed for proprietary software
18:07
<
clever >
and ive been telling people to lib.makeLibPath in a let block, and to just ignore buildInputs
18:08
<
clever >
aszlig: there is also the issue of dlopen stuff, where you cant shrink-rpath
18:08
<
clever >
and an automated rpath feels like it would bloat the closure a lot more
18:20
<
Mic92 >
clever: It works pretty well actually and fix more stuff then a human would do.
18:20
<
Mic92 >
especially for complex software new files can be easily missed out
18:38
<
gchristensen >
fyi: one of the packet machines has bad RAM
18:43
<
srhb >
gchristensen: epyc?
18:43
<
gchristensen >
t2-4
18:44
<
srhb >
Iiiinteresting.
18:44
<
gchristensen >
is epyc acting up?
18:44
<
srhb >
I was hoping so, to explain the bizarre failure I've seen earlier, but disregard for now since it's only the one.
18:45
<
srhb >
What does bad RAM entail? I've never thought of that. Potentially need to rebuild the whole tree forcing new hashes?
18:45
<
gchristensen >
no, it has ECC
18:46
<
gchristensen >
so the system faulted and doesn't boot reliably. working on fixing it with Packet, though it probably means a new machine :)
18:46
<
srhb >
OK, that sounds much more bearable. :-)
18:53
<
gchristensen >
imo, ECC is basically almost always worth it if you're working on long-term stuff
18:53
<
srhb >
Yes, no kidding.
18:56
<
gchristensen >
(I can also be picky when I don't really actually
_buy_ much hw)
19:05
<
samueldr >
my workstation has ECC ram; it caught two bit flips since I got it about a year ago
19:14
<
gchristensen >
yeah I've seen that X)
19:16
<
clever >
the crazy part, is that one of the machines that flipped a bit, cached the reply, and served the test page to 100's of users
19:52
<
aszlig >
clever: the auto patchelf is done after shrinking rpaths, so they won't be conflicting
20:02
<
clever >
aszlig: ah, but shrink itself can cause problems with dlopen
20:03
<
aszlig >
clever: well, sure, but that's why there is 'runtimeDependencies'
20:03
<
aszlig >
clever: usually software distributed in binary form do not even include these rpaths
20:04
<
aszlig >
clever: they just assume that everything will be in /usr/lib and that's it
20:23
orivej has joined #nixos-dev
21:29
<
{^_^} >
nix#2423 (by ElvishJerricco, 1 week ago, open): nix build: Print result paths to stdout with --no-link
21:29
<
gchristensen >
today is "graham breaks the builders day" so bear with me
21:30
<
elvishjerricco >
gchristensen: Sounds like fun :)
21:30
<
gchristensen >
not so fun ... :) was hoping for quick maintenance hehe
21:52
jtojnar_ has joined #nixos-dev
22:30
<
Mic92 >
Can I get merge access for NixOS/systemd?
22:31
<
samueldr >
domenkozar may be the one handling accesses, not entirely sure though ^
22:33
<
Mic92 >
we sometimes lack a bit of systemd maintainers with time on there hand
22:33
<
globin >
+1 ^ niksnut, domenkozar ^
22:35
<
gchristensen >
it looks like the aarch64 builder could be down until tomorrow, sorry everyone
23:35
jtojnar has quit [Remote host closed the connection]
23:35
jtojnar_ is now known as jtojnar
23:36
jtojnar has quit [Quit: jtojnar]
23:37
jtojnar has joined #nixos-dev
23:56
goibhniu has quit [Ping timeout: 260 seconds]