| 3 Dec 2025 |
dish [Fox/It/She] | just trying to understand the scope of the patchset relative to if I want to take any changes into my existing upgrade branch | 21:57:14 |
Alyssa Ross | We have runInLinuxVM! | 22:04:11 |
aleksi | Hmm, yeah there might be little things: - GCC v8 upgraded to v10 (for better RV64 backend, mostly, but can be good for i686)
- bash 5.2 to 5.2.37, which fixes the strtoimax issue
- fixed egrep, the makefile from live-bootstrap is wrong
- fixed strncasecmp in heirloom stubs, the old implementation can segfault if you give it a string literal as an argument, which heirloom does
| 22:04:21 |
Tristan Ross | Would be cursed to wrap everything in that | 22:04:54 |
aleksi | Actually I see a bug in my own strncasecmp now, when the strings have different lengths, I will have to fix that | 22:04:55 |
aleksi | Oh, and I think the printf patches in mes/libs.nix can affect i686 | 22:07:00 |
| 4 Dec 2025 |
| GrqP joined the room. | 03:15:52 |
GrqP | Is this the right channel to ask newb questions about makeWrapper and setup hooks? | 03:18:15 |
rosssmyth | Don't ask to ask | 04:38:45 |
rosssmyth | just ask | 04:38:47 |
GrqP | I'm trying to figure out how to navigate the sources to determine where wrapProgram, makeWrapper are populated. I can see in github the shell script, and that pkgs.makeWrapper copies to setup-hook, but can't find who calls makeSetupHook to trigger that.
Is there a fast way to figure this out without grepping the repo directly?
| 04:54:53 |
Winter | grep, tbh… or something like builtins.unsafeGetAttrPos "makeWrapper" pkgs
nonetheless. https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728
| 05:19:23 |
Winter | * grep, tbh… or something like builtins.unsafeGetAttrPos "makeWrapper" pkgs
nonetheless: https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728
| 05:19:30 |
GrqP | I forgot about unsafeGetAttrPos. I thought nix repl :e would get me there but not so much. | 05:24:55 |
Winter | :doc miiiight | 05:47:08 |