!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

83 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5127 Servers

Load older messages


SenderMessageTime
30 Jul 2022
@k900:0upti.meK900Both are possible18:52:36
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @elvishjerricco:matrix.org
It would surprise me if patchelf even had any cross-dependent behavior
You can ask @Mic92 about that, he started maintaining that
18:52:44
@k900:0upti.meK900Oh actually wait18:53:16
@k900:0upti.meK900 It does have some endianness checks 18:53:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
$ nix build --no-link --json nixpkgs#patchelf
[{"drvPath":"/nix/store/kshhm1fpfdv5a1qkd7sf18plxh7ddlg4-patchelf-0.14.5.drv","outputs":{"out":"/nix/store/96q22iw1i2m960x9y3v6fsj55691pzdl-patchelf-0.14.5"}}]

$ nix build --no-link --json nixpkgs#pkgsCross.aarch64-multiplatform.buildPackages.patchelf
[{"drvPath":"/nix/store/kshhm1fpfdv5a1qkd7sf18plxh7ddlg4-patchelf-0.14.5.drv","outputs":{"out":"/nix/store/96q22iw1i2m960x9y3v6fsj55691pzdl-patchelf-0.14.5"}}]
18:53:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgLooks the same to me18:53:33
@k900:0upti.meK900Yeah OK it's doing very cursed things18:53:39
@k900:0upti.meK900https://github.com/NixOS/patchelf/blob/master/src/patchelf.cc#L23918:53:40
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @janne.hess:helsinki-systems.de
Who updates them?
r-ryantm once we've added an update script that runs cargo update
18:54:05
@k900:0upti.meK900This is freaking scary18:55:14
@k900:0upti.meK900It's basically just bytemucking all the values in-place at read time18:55:32
@k900:0upti.meK900RIIR patchelf when18:55:47
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Mic92: do you have more insight on that? 18:55:55
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @k900:0upti.me
RIIR patchelf when
If we did that we wouldn't need goblin :P
18:56:46
@k900:0upti.meK900I mean if I were to attempt it, goblin is what I'd build off of18:56:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAnyway, the point stands that we don't need to add deps if we're willing to use patchelf instead of ldd to detect dynamic libs18:58:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut that comes at the cost of it being... maybe a lil wonky. And we'd lose the justification for using json for the input18:58:26
@k900:0upti.meK900Actually kinda hot take18:58:44
@k900:0upti.meK900We might just want to extract make-initrd-ng into its own repo18:59:02
@k900:0upti.meK900So we could have dependabot and CI and all the other good stuff18:59:12
@k900:0upti.meK900Maybe not right now but in a few months when it's more mature18:59:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat's not crazy. I mean patchelf is another repo, right?18:59:31
@linus:schreibt.jetzt@linus:schreibt.jetztyeah that take is lukewarm at best :p18:59:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgShoot I don't even see a reason not to do it immediately19:00:21
@k900:0upti.meK900 I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkard 19:00:28
@linus:schreibt.jetzt@linus:schreibt.jetztidk, having it in nixpkgs has its advantages too19:00:31
@k900:0upti.meK900 * I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkawrd 19:00:31
@k900:0upti.meK900 * I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkward 19:00:34
@linus:schreibt.jetzt@linus:schreibt.jetztyeah that19:00:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgah fair enough19:00:42

Show newer messages


Back to Room ListRoom Version: 6