!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

221 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture54 Servers

Load older messages


SenderMessageTime
2 Jun 2024
@aloisw:kde.org@aloisw:kde.org set a profile picture.18:01:44
@aloisw:kde.org@aloisw:kde.org changed their profile picture.18:23:54
@quantenzitrone:matrix.orgzitrone changed their display name from Zitrone [📞2757] to zitrone.18:24:55
3 Jun 2024
@infinisil:matrix.orginfinisil Let's use this crab.fit to find a new time. If you'd like to join my weekly Nixpkgs Architecture office hours, please fill in your regular availability there! 14:31:37
@infinisil:matrix.orginfinisil Philip Taron (UTC-8): willbush: Dominic Mills: ^ 14:31:53
@philiptaron:matrix.orgPhilip Taron (UTC-8)I filled out my availablity as of 6/17 -- it'll be significantly more constrained until then, but I'm fine to miss things until then.15:29:13
@philiptaron:matrix.orgPhilip Taron (UTC-8) https://github.com/NixOS/nixpkgs-check-by-name/pull/71 -- nixpkgs-check-by-name ran into some (to my eyes) odd update errors. 15:29:52
4 Jun 2024
@infinisil:matrix.orginfinisil changed their profile picture.02:44:04
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:14:39
5 Jun 2024
@infinisil:matrix.orginfinisil Philip Taron (UTC-8): willbush: Alright let's do Friday 18:00 UTC, I updated the Community Calendar event :) 14:46:43
7 Jun 2024
@infinisil:matrix.orginfinisilNixpkgs Architecture office hour now, for those who can join :) https://meet.jit.si/nixpkgs-architecture17:57:55
@infinisil:matrix.orginfinisil Ping Philip Taron (UTC-8) willbush 17:58:39
9 Jun 2024
@philiptaron:matrix.orgPhilip Taron (UTC-8)Sorry I missed. I'll be out doing non-Nix work for the next week, but I plan to be more available this summer starting 6/17.23:16:17
10 Jun 2024
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @jonringer:matrix.org@jonringer:matrix.org.00:17:07
@willbush:matrix.orgwillbushI also missed :(. I have had other things come up, but I still want to help out. I'm hoping to be more active next month. Feel free to reschedule Jit.si meet without my crab fit schedule :)22:03:26
11 Jun 2024
@aliarokapis:matrix.orgAlexandros LiarokapisHi all. Not sure if this is the proper Room to discuss this. I was thinking, maybe it would be worth enabling patchelf to change hard-coded paths in the text segment to relative ones, then provide symlinks in the $out folder. This is an alternative to builfFHSEnv that should also work on Darwin (not with patchelf but similar) not all of them obviously, something like by providing a map of transforms it would also help with manual dlopens10:01:42
@Minijackson:matrix.orgMinijacksonCan it work? Doesn't this mess up pointers to the text segment?11:10:54
@nbp:mozilla.orgnbpMost of the time no.12:04:01
@nbp:mozilla.orgnbp * (patching path of different length) Most of the time no.12:04:30
@Minijackson:matrix.orgMinijacksonhow so? I would assume that the program knows the start address and the length of the string, so we can't put longer strings without having to shift the rest, and shorter strings aren't guaranteed to work either12:08:12
@nbp:mozilla.orgnbpthe program yes, the patching tool probably does not.12:23:58
@nbp:mozilla.orgnbpthen you have different encoding, depending on the language, and other variables that would have to be shifted otherwise, assumption on the addresses …12:25:46
@Minijackson:matrix.orgMinijackson
In reply to @nbp:mozilla.org
the program yes, the patching tool probably does not.
I'm not sure I understand this sentence. Isn't the point patching programs?
12:32:24
@nbp:mozilla.orgnbpWell patchelf is patching the header of the ELF binary, but it is assumed unsafe to attempt patching random strings, unless you are sure that they have the same length.12:37:40
@nbp:mozilla.orgnbp The replaceDependencies is the closest thing there is to replacing raw path to the nix store by another one in the nix-store, but beware that if the version changes from 0.4.0 to 0.4.0a this would cause a lot of issues. 12:39:24
@Minijackson:matrix.orgMinijackson so for the solution proposed by Alexandros Liarokapis, unless the paths are of the same length, there's quite a chance that it would lead to bug, then 12:44:24
@aliarokapis:matrix.orgAlexandros LiarokapisConverting longer paths to shorter relative ones should work12:44:27
@aliarokapis:matrix.orgAlexandros LiarokapisHmm yea I guess it depends on the encoding12:44:46
@aliarokapis:matrix.orgAlexandros LiarokapisProbably only works for c strings12:44:52
@Minijackson:matrix.orgMinijackson if the path are shorter, it could be padded with /, but seems hacky x) 12:44:57

Show newer messages


Back to Room ListRoom Version: 9