Nixpkgs Stdenv | 217 Members | |
| 70 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Dec 2025 | ||
| Would be cursed to wrap everything in that | 22:04:54 | |
| 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 | |
| Oh, and I think the printf patches in mes/libs.nix can affect i686 | 22:07:00 | |
| 4 Dec 2025 | ||
| 03:15:52 | ||
| Is this the right channel to ask newb questions about makeWrapper and setup hooks? | 03:18:15 | |
| Don't ask to ask | 04:38:45 | |
| just ask | 04:38:47 | |
| 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 | |
| grep, tbh… or something like nonetheless. https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728 | 05:19:23 | |
| * grep, tbh… or something like nonetheless: https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728 | 05:19:30 | |
| I forgot about unsafeGetAttrPos. I thought nix repl :e would get me there but not so much. | 05:24:55 | |
:doc miiiight | 05:47:08 | |
| but i forget if upstream nix has this | 05:47:17 | |
Neither makeWrapper nor makeShellWrapper have comments on them, so :doc doesn't help, bleh | 11:13:06 | |
| well they're not functions, they're packages, which is why they dont come up in :doc iirc | 16:09:33 | |
| functions have :doc more than packages… :P | 19:09:15 | |
| 19:22:03 | ||
| 9 Dec 2025 | ||
| I've submitted a draft PR to support minimal-bootstrap on x86_64-linux, based on the previous PR to upgrade mes to 0.27.1. https://github.com/NixOS/nixpkgs/pull/469294 This is the specific delta for x86_64-linux: https://github.com/NixOS/nixpkgs/compare/48c34b0b80801c8009a6b75728588cfee5468cff..9b6c3e609f671609f8b6add5dd572679f6527a5b | 15:29:09 | |
| I'm just a bystander, but: Awesome!!! Thank you so much for this work. For anyone following along, I believe that this can be tested from the comfort of your couch by:
I am doing this now (and expect no problems). There was one quickly fixed issue in the beginning, I got a hash mismatch for nyacc, probably because I had already tested an earlier version? (I resolved this by appending a do-nothing question mark to the nyacc URL, prompting a redownload, for which the hash successfully validated. But I don't fully understand the root cause of this issue. On a machine with a fresh cache, this issue did not arise.) How hard would it be to drop pkgs/stdenv/linux/bootstrap-files (for x86_64)? | 22:00:43 | |
| since I don't have an understanding of how the current bootstrap-files mechanism works, difficult. | 22:33:02 | |
| but with this it can be done soon | 22:33:07 | |
| though this also requires more tools to be built first | 22:33:18 | |
| see #459002 | 22:33:38 | |
| looked through the additional commits, nice work! | 22:40:16 | |
| I will look at aarch64-linux minimal-bootstrap lol | 22:42:36 | |
| 👀 | 22:44:34 | |
| 10 Dec 2025 | ||
| * I'm just a bystander, but: Awesome!!! Thank you so much for this work. For anyone following along, I believe that this can be tested from the comfort of your couch by:
I am doing this now (and expect no problems). There was one quickly fixed issue in the beginning, I got a hash mismatch for nyacc, probably because I had already tested an earlier version? (I resolved this by appending a do-nothing question mark to the nyacc URL, prompting a redownload, for which the hash successfully validated. But I don't fully understand the root cause of this issue. On a machine with a fresh cache, this issue did not arise.) How hard would it be to drop pkgs/stdenv/linux/bootstrap-files (for x86_64)? Edit. The test successfully concluded as expected. | 00:03:42 | |
| Thank you, I appreciate the testing. Credits to to dish and GNU Mes folks among others. I do want to check if I can reproduce the hash mismatch locally. I've seen issues like that, where they only appear after a gc cycle. | 06:48:36 | |
| Very exciting :D | 06:49:08 | |
| 13:34:47 | ||