!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

171 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird51 Servers

Load older messages


SenderMessageTime
20 Sep 2023
@artturin:matrix.orgArtturin Ok
BTW
https://github.com/NixOS/nix/pull/6530 will have support for patchFiles in inputs
18:43:07
@artturin:matrix.orgArtturin * Yeah
BTW
https://github.com/NixOS/nix/pull/6530 will have support for patchFiles in inputs
18:43:19
@artturin:matrix.orgArtturin colemickens: I'm going to rewrite the flake so that forAllSystems doesn't have to be repeated everywhere 19:37:16
@artturin:matrix.orgArtturin * colemickens: I'm going to refactor the flake so that forAllSystems doesn't have to be repeated everywhere 19:37:21
@colemickens:matrix.orgcolemickens👍19:37:50
@artturin:matrix.orgArtturin
In reply to @colemickens:matrix.org
👍
is xarch much system to mozilla system
20:11:45
@artturin:matrix.orgArtturin
In reply to @colemickens:matrix.org
👍
* is xarch juch system to mozilla system
20:11:50
@artturin:matrix.orgArtturin * is xarch just system to mozilla system 20:11:52
@colemickens:matrix.orgcolemickensyes20:12:45
@artturin:matrix.orgArtturinhttps://github.com/nix-community/flake-firefox-nightly/pull/2320:16:30
@k900:0upti.meK900 ⚡️So this is a problem 20:32:32
@k900:0upti.meK900 ⚡️Based on the conversation on the issue, Firefox basically hardcodes an offset into the binary now 20:32:55
@k900:0upti.meK900 ⚡️Which means patchelf can't really be expected to work 20:33:14
@k900:0upti.meK900 ⚡️Unless 20:33:44
@k900:0upti.meK900 ⚡️Unless we do even more horrible things 20:34:18
@hexa:lossy.networkhexain all fairness, they do call it a hack20:36:23
@k900:0upti.meK900 ⚡️I think I have a horrible idea but I'll have to look at patchelf code to see if it can work 20:39:26
@k900:0upti.meK900 ⚡️Basically, what if instead of moving all the sections around, we just unlist the old dynamic section and add our new one at the end 20:42:53
@k900:0upti.meK900 ⚡️ Actually I wonder what the linker will do if you just have more than one .dynamic section 20:44:03
@colemickens:matrix.orgcolemickens
In reply to @artturin:matrix.org
https://github.com/nix-community/flake-firefox-nightly/pull/23
ready? I can merge
20:48:41
@colemickens:matrix.orgcolemickensoops, just saw its still a draft. no rush20:48:59
@artturin:matrix.orgArtturinready20:50:23
@colemickens:matrix.orgcolemickens
In reply to @artturin:matrix.org
ready
done
20:57:19
@k900:0upti.meK900 ⚡️For posterity, last one wins: https://elixir.bootlin.com/glibc/latest/source/elf/rtld.c#L115220:58:36
@k900:0upti.meK900 ⚡️But also this is definitely a glibcism and the manual says to not do that 20:58:55
@k900:0upti.meK900 ⚡️Also the person on the issue actually read patchelf source code and it turns out we already basically do the bad cursed thing 21:00:39
@k900:0upti.meK900 ⚡️Except we also clobber the old data explicitly 21:00:48
@k900:0upti.meK900 ⚡️Which I guess we can just not do 21:00:53
@colemickens:matrix.orgcolemickens Artturin: don't want to rush you, but trying to be cognizant of the nix-community "namespace" (ugh) minutes available: https://github.com/nix-community/flake-firefox-nightly/pull/24 let me know what you think 21:46:06
@artturin:matrix.orgArtturinroberth approved https://github.com/NixOS/nixpkgs/pull/19259321:46:52

Show newer messages


Back to Room ListRoom Version: 9