<ScottHDev>
I'm configuring gettext with meson for a Gtk+ GUI. The app gets translated correctly when patching the path given to bindtextdomain() with an absolute path like "$out/share/locale"
<ScottHDev>
output of nix-build relevant
<ScottHDev>
I tried using the localedir variable provided to mesonbuild by nix-build but it's a relative path and it didn't work :
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<edef>
gchristensen: i struggle to think of a case where we're building a cpio from untrusted stuff
<edef>
gchristensen: like, there's the initramfs secrets, but "attacker controls initramfs secret file names" is a weird scenario
<gchristensen>
I'm not considering it from a perspective of trusted / untrusted, more from a perspective of correctness
<gchristensen>
better to create a cpio where some amount of the contents are unusable (hidden behind a TRAILER!!! file) or refuse to create it in the first place
<puck>
is there any other piece of software that blocks creating CPIO archives with a "TRAILER!!!" file?
<gchristensen>
not sure, are you suggesting that is evidence that we shouldn't?
<clever>
gchristensen: one thing i have seen before, is that cpio includes inode#, and there is a special header-like record, that marks the border between different cpio archives
<clever>
which will reset the inode stuff used for hardlink management
orivej_ has joined #nixos-dev
<clever>
and that lets you concat 2 files, and reset the decoder state, so the 2nd archive is parsed
orivej has quit [Read error: Connection reset by peer]
<clever>
and a problem ive noticed, is that linux also lets you concat 2 gz files together too, but gunzip only parses the first, making it harder to diagnose from userland
alp has joined #nixos-dev
<gchristensen>
yeah
<gchristensen>
that is true
cole-h has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]