Nixpkgs Stdenv | 225 Members | |
| 74 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Dec 2025 | ||
| 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 | |
We have runInLinuxVM! | 22:04:11 | |
| Hmm, yeah there might be little things:
| 22:04:21 | |
| 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 | |
| 4 Aug 2022 | ||
| 03:27:09 | ||
| 22:08:01 | ||
| 6 Aug 2022 | ||
| Does anyone know where the fact that the Darwin stdenv builds CMake twice comes from? As far as I can tell, it's from stage 0, and then just gets used in the other stages from there. Am I missing something here, is it something with the overrides? It looks like it might be, but then the fact that those are only allowed in the final stage (per (Isn't this the same pattern (defining in one stage and referencing in the others) that makes Glibc only build a limited number of times in the Linux stdenv?) | 08:00:17 | |
| You think
| 14:59:09 | |
Looking at stdenv's dep tree I see 2 cmake-boot hashes and one cmake hash: https://dpaste.com/8GGM6P9BF.txt | 15:03:11 | |
In reply to @trofi:matrix.orgI have no particular opinion, I'm just curious how that happens. | 21:22:09 | |
Oh, for clarification, I was talking about cmake-boot. | 21:22:19 | |
(which is cmake in the stdenv stages) | 21:22:29 | |
| see the line i linked | 21:22:36 | |
AFAIU cmake = cmakeMinimal is only for stage1-4 (first build: bootstrapTools -> cmake-boot in pastebin). Last stage uses cmake as is. Also note that cmakeMinimal is used by zstd (used by final stage, does second build: stage4 -> cmake-boot -> zstd in pastebin). | 21:44:31 | |
I used the following command to grep through the full depgraph: $ nix-store --query --graph $(nix-instantiate -A stdenv --argstr system x86_64-darwin) | 21:45:39 | |
| 10 Aug 2022 | ||
| 09:55:36 | ||
| 17 Aug 2022 | ||
Quiz question: for a final glibc used in nixpkgs all over the place which gcc you think is used to build it on linux? a) Possible answers: gcc from bootstrap tools b) gcc from nixpkgs. | 17:36:21 | |