!kjdutkOsheZdjqYmqp:nixos.org

Nixpkgs / NixOS contributions

1864 Members
NixOS 24.05 Uakari | #review-requests:nixos.org | https://nixos.org/blog/announcements.html#nixos-23.11 | https://hydra.nixos.org/jobset/nixos/trunk-combined | https://reproducible.nixos.org/ | 24.05 RMs: wegank & Mic92410 Servers

Load older messages


SenderMessageTime
21 Oct 2024
@qyliss:fairydust.spaceAlyssa Ross
In reply to @luckytethys:matrix.org
Oh, in that case it would be a lot easier. That might be feasible.
Please do try to upstream it though!
15:50:24
@emilazy:matrix.orgemily
In reply to @qyliss:fairydust.space
I believe it'll build an as for targetPlatform
right. which seems… misleading
15:50:56
@emilazy:matrix.orgemily given that you are asking for all the targets, and probably expect targetPlatform to be irrelevant 15:51:11
@qyliss:fairydust.spaceAlyssa RossYes, I agree.15:51:18
@emilazy:matrix.orgemily which is an argument for building all the ases in that package IMO 15:51:20
@qyliss:fairydust.spaceAlyssa RossPossibly15:51:26
@qyliss:fairydust.spaceAlyssa RossThere's also something to be said for doing what upstream does15:51:50
@qyliss:fairydust.spaceAlyssa RossBut you may be right that that would make more sense overall.15:51:58
@emilazy:matrix.orgemilyI'm guessing that what upstream does is mostly not expect people to do this15:52:17
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️

How do I add the binaries in from the image in dockerTools.runWithOverlay postMount?

16:02:03
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️ *

How do I add the binaries from the image to the path in dockerTools.runWithOverlay postMount?

16:05:42
@luckytethys:matrix.orgTethys Svensson Alyssa Ross: First problem with upstreaming is that is that I don't know how to detect whether a given binary has multi-arch support, or whether it has sufficient multi-arch support to support the cases needed by pwntools. I don't think trying to figure this out is a good use of my time. I would much prefer to either have an architecture-specific objdump in nixpkgs or hardcode a patch to pwntools that forces the use of a known-good multi-arch version. 16:11:54
@luckytethys:matrix.orgTethys SvenssonSo the nixpkgs-only patch would be much easier to write and to maintain than an upstream-version that tries to detect whether the multi-arch version is multi-arch enough.16:13:12
@qyliss:fairydust.spaceAlyssa RossDoesn't pwntools already have to do this for the other binutils binaries that might or might not be multi-arch?16:14:12
@luckytethys:matrix.orgTethys SvenssonNot really16:14:31
@luckytethys:matrix.orgTethys SvenssonIt uses a few host-specific binaries like gdb and cpp. For gdb it just hopes that it has multi-arch support (also, for gdb you mostly just need the host-specific version anyways). For cpp the architecture doesn't actually matter.16:15:34
@luckytethys:matrix.orgTethys SvenssonFor the other tools mentioned it tries to find an architecture-specific version and if it can't then it gives up16:16:03
@luckytethys:matrix.orgTethys SvenssonThe only special-case is that it tries the host-specific version when the target architecture is sufficiently close to the host architecture.16:16:23
@qyliss:fairydust.spaceAlyssa RossCould it just fall back if it doesn't find the architecture-specific nersion?16:21:18
@luckytethys:matrix.orgTethys SvenssonIt has a fallback where it tries to detect whether it is on a system where it knows how to install a architecture-specific binutils and then suggests how to do that16:22:14
@luckytethys:matrix.orgTethys SvenssonAlso, the error messages would be absolutely cursed if it tried to use a version that doesn't work16:22:44
@9999years:matrix.org9999years something going on with nix.ci; cert errors + File not found. + Check ./stats.php on the homepage
https://monitoring.nix.ci/dashboard/db/ofborg
16:29:32
@emilazy:matrix.orgemilyhttps://ofborg.org/ is the canonical domain again now. though https://monitoring.ofborg.org/dashboard/db/ofborg also doesn't seem to be working16:30:09
@jh-devv:matrix.orgjh-devv 🏳️‍⚧️
In reply to @jh-devv:matrix.org

How do I add the binaries from the image to the path in dockerTools.runWithOverlay postMount?

could anybody help with this?
16:39:31
@ss:someonex.netSomeoneSerge (utc+3) Ah so ofborg is having a moment? Noticed @ofborg eval is getting no reaction 16:43:46
@lily:lily.flowersLily Foster
In reply to @ss:someonex.net
Ah so ofborg is having a moment? Noticed @ofborg eval is getting no reaction
it should have put it in the queue. how long has it been? the eval queue depth is pretty big so it'll be a while before it gets to it
16:44:54
@ss:someonex.netSomeoneSerge (utc+3)One 25' ago and one 49'16:45:34
@emilazy:matrix.orgemilyyou gotta be a lot more patient than that16:45:50
@lily:lily.flowersLily Fosteryeah it'll probably be longer than that still16:45:58
@ss:someonex.netSomeoneSerge (utc+3)👌16:46:09

Show newer messages


Back to Room ListRoom Version: 6