!kjdutkOsheZdjqYmqp:nixos.org

Nixpkgs / NixOS contributions

1861 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 & Mic92409 Servers

Load older messages


SenderMessageTime
21 Oct 2024
@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
@sigmasquadron:matrix.orgSigmaSquadronhuh, in my experience OfBorg takes like an hour max to evaluate, maybe 5-6 to build and check17:00:14
@lily:lily.flowersLily Foster
In reply to @sigmasquadron:matrix.org
huh, in my experience OfBorg takes like an hour max to evaluate, maybe 5-6 to build and check
yeah but the queue depth is like 100 PRs waiting and eval takes like 15 minutes with 15 evaluators currently
17:33:24
@lily:lily.flowersLily Fosterso it's gonna be longer than an hour17:33:32
@lily:lily.flowersLily Foster(hopefully not too much longer though)17:33:50
@lily:lily.flowersLily Foster* yeah but the queue depth is like 100 PRs waiting and eval takes like 15 minutes with 15 evaluators currently working through the queue17:35:34
@lily:lily.flowersLily Foster* (hopefully not too much longer than that though)17:35:40

Show newer messages


Back to Room ListRoom Version: 6