lassulus changed the topic of #nixos-de to: Willkommen im deutschen NixOS Channel. | camp! https://hackmd.shackspace.de/camp2019#
{^_^} has quit [Ping timeout: 248 seconds]
{^_^} has joined #nixos-de
ma27 has quit [*.net *.split]
xorAxAx has quit [*.net *.split]
wirew0rm has quit [*.net *.split]
Florian[m]1 has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
palo has quit [*.net *.split]
betaboon_ has quit [*.net *.split]
mupf has quit [*.net *.split]
woffs has quit [*.net *.split]
ctp has quit [*.net *.split]
haslersn[m] has quit [*.net *.split]
hexa- has quit [*.net *.split]
tv has quit [*.net *.split]
le_jonge has quit [*.net *.split]
nervengift has quit [*.net *.split]
Synthetica has quit [*.net *.split]
andi- has quit [*.net *.split]
manveru has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
jonge[m] has quit [*.net *.split]
tazjin has quit [*.net *.split]
makefu has quit [*.net *.split]
sphalerit has quit [*.net *.split]
leons has quit [*.net *.split]
Mic92 has quit [*.net *.split]
flokli has quit [*.net *.split]
sphalerite has quit [*.net *.split]
fpletz has quit [*.net *.split]
IdleBot_08524c6b has quit [*.net *.split]
lassulus has quit [*.net *.split]
fpletz has joined #nixos-de
tv has joined #nixos-de
sphalerite has joined #nixos-de
mupf has joined #nixos-de
Mic92 has joined #nixos-de
schmittlauch[m] has joined #nixos-de
hexa- has joined #nixos-de
manveru has joined #nixos-de
Florian[m]1 has joined #nixos-de
lassulus has joined #nixos-de
andi- has joined #nixos-de
le_jonge has joined #nixos-de
leons has joined #nixos-de
haslersn[m] has joined #nixos-de
nervengift has joined #nixos-de
wirew0rm has joined #nixos-de
Ox4A6F has joined #nixos-de
makefu has joined #nixos-de
tazjin has joined #nixos-de
sphalerit has joined #nixos-de
xorAxAx has joined #nixos-de
IdleBot_08524c6b has joined #nixos-de
betaboon_ has joined #nixos-de
palo has joined #nixos-de
ctp has joined #nixos-de
jonge[m] has joined #nixos-de
woffs has joined #nixos-de
florianjacob has joined #nixos-de
flokli has joined #nixos-de
Synthetica has joined #nixos-de
ma27 has joined #nixos-de
palo1 has joined #nixos-de
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
fendor has joined #nixos-de
fendor has quit [Quit: Leaving]
<Mic92> jonge[m]: matchen die sonames die das firefox binary haben will mit dem library name das in p11kit in $out/lib liegt.
<Mic92> Dann sollte auch RPATH oder LD_LIBRARY_PATH funktionieren.
<Mic92> alternativ kann das sich auch zurecht cheaten mit symlinks um den richtigen Namen zu bekommen.
<jonge[m]> Mic92: also ich habe mir mal nen symlink von `/tmp/foobar/libnssckbi.so` auf `${p11kit}/lib/pkcs11/p11-kit-trust.so` gelegt (das tun die typischen anleitungen auf anderen distros, bzw. fedora scheint das per default zu machen) und das funktioniert leider ueberhaupt nicht, zumindest nicht mit LD_PRELOAD. die rpath sachen hab ich nicht probiert. einfach `RPATH=/tmp/test LD_LIBRARY_PATH=/tmp/test firefox` ?
<Mic92> jonge[m]: der rpath wird im binary mit patchelf gesetzt.
<Mic92> $LD_LIBRARY_PATH funktioniert wie $PATH.
<jonge[m]> ok
<jonge[m]> die env var check ich mal eben aus, mom...
<jonge[m]> Mic92: macht leider gar keinen unterschied.
<Mic92> jonge[m]: setzt der firefox wrapper den LD_LIBRARY_PATH auch selber?
<jonge[m]> um das mit dem RPATH auszuprobieren... firefox liegt ja schreibgeschuetzt im nix store. was ist der schnellste weg mittels einer minimalen derivation das ding mal eben mit `patchelf` zu bearbeiten?
<jonge[m]> Mic92: gute frage. das habe ich nicht geprueft, ich startet das am besten mal ohne wrapper direkt auf der binary, mom
<Mic92> das waren mehre wrapper
<Mic92> Und ich glaube man braucht die auch.
<jonge[m]> zum starten an sich nicht. der laeuft dann relativ fehlerlos - ich weiss aber nicht was ihm dann evtl fehlt
<jonge[m]> nope, macht leider auch gaaar keinen unterschied... frustrierend.
fendor has joined #nixos-de
fendor has quit [Ping timeout: 272 seconds]
fendor has joined #nixos-de
fendor has quit [Remote host closed the connection]
fendor has joined #nixos-de
Synthetica has quit [Quit: Connection closed for inactivity]
<jonge[m]> Mic92: wie wuerdest du das mit `patchelf` machen? Ich kann ja nicht einfach die firefox binary im nix store patchen. wenn ich die derivation von firefox aendere, dann wird der wohl den ganzen tag compilen (vermute ich). wenn ich eine derivation schreibe die den nix path einfach in einen neuen kopiert und dann patchelf aufruft, fuehrt ja dazu dass nun alle pfade kaputt sind
fendor has quit [Ping timeout: 258 seconds]
fendor has joined #nixos-de
MichaelRaskin has joined #nixos-de
fendor has quit [Ping timeout: 244 seconds]
fendor has joined #nixos-de
Guanin has joined #nixos-de
fendor has quit [Ping timeout: 245 seconds]