Nixpkgs Stdenv | 224 Members | |
| 72 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Sep 2025 | ||
| SBOM stuff is generally falling of companies trying to comply with the EU's CRA. When I read the CRA I don't remember there being specific requirements for the SBOM, but once EU states start implementing it there might be. | 16:08:28 | |
| * SBOM stuff is generally falling out of of companies trying to comply with the EU's CRA. When I read the CRA I don't remember there being specific requirements for the SBOM, but once EU states start implementing it there might be. | 16:11:31 | |
| SBOM was actually mostly driven by USG after Solarwinds, as I recall… | 16:11:38 | |
| I see, I don't interact with that space so I wouldn't know. | 16:12:42 | |
| I don't either, I just know that I'd heard of SBOMs long before I'd heard of the CRA, and been asked for one for the first time before the CRA was even proposed. | 16:13:06 | |
| 22 Sep 2025 | ||
| For https://github.com/NixOS/nixpkgs/issues/444721, I don't believe that there's anything to report under stdenv. | 18:38:33 | |
| Yeah, we're good for now I believe | 18:46:48 | |
| 23 Sep 2025 | ||
| 10:42:49 | ||
| 30 Sep 2025 | ||
| Howdy stdenv folks. Progress on the minimal-bootstrap is going okay, but I'm hitting an error(which I'm pretty sure is the same one that the current minimal bootstrap hits) and I'm having issues getting it solved. Current branch with all of my work is https://github.com/pyrox0/nixpkgs/tree/bump/minimal-bootstrap , any help or suggestions on how to resolve this would be helpful. I'll post the tail of my build logs here in a second so that you can see the logs too. | 15:21:07 | |
| Download gcc-4.6.4.log | 15:23:25 | |
| the issue is on line 103 of the log | 15:23:37 | |
| 16:05:33 | ||
| 18:41:39 | ||
| 1 Oct 2025 | ||
| I've been trying to compile a C program that uses a few random libs and headers from some packages, which I've correctly declared in Keep in mind this project has no Makefile or CMakeFiles, it's just a bunch of *.h and *.cpp files from an instructor, hence why I need to manually run compilation commands. I'm able to get it to compile by writing the flags myself, but I'm a little confused as to why this isn't working OOTB like the Nixpkgs manual suggests. Is there something I'm missing? | 01:01:28 | |
| * I've been trying to compile a C program that uses a few random libs and headers from some packages, which I've correctly declared in Keep in mind this project has no Makefile or CMakeFiles, it's just a bunch of *.h and *.cpp files from an instructor, hence why I need to manually run compilation commands. I'm able to get it to compile by writing the flags myself, but I'm a little confused as to why this isn't working OOTB like the Nixpkgs manual suggests. Is there something I'm missing? I did check both aforementioned environment variables and they do seem to be populated, so I'm confused. | 01:02:21 | |
| NIX_CFLAGS_COMPILE doesn't do that everything automatically. It's mainly for stdlib stuff. You still need to provide the -I and -L flags for your build inputs, possibly using pkg-config if they supply it. | 03:46:41 | |
| hm I see, I guess what also confused me was seeing that both NIX_CFLAGS_COMPILE and NIX_LDFLAGS were populated with the correct flags to include all the headers and libs respectively, for all of my declared build inputs. That, and the explanation in the Nixpkgs manual suggested that these flags were populated by the stdenv and were used by the CC wrapper and LD wrapper respectively. | 03:58:01 | |
I’m able to reuse the CFLAGS that are created, I just went ahead and threw pkg-config —libs package1 package2 … and this seems to work | 03:58:47 | |
| Found it: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/cc-wrapper/default.nix#L37 | 05:29:38 | |
| by default link flags aren’t given to NIX_CFLAGS_COMPILE, which matches what I was seeing | 05:29:55 | |
| now the weird thing is that since the CC wrapper should be using the LD wrapper, I’d have expected NIX_LDFLAGS to be relevant for it | 05:30:24 | |
| back to investigating | 05:30:32 | |
| * | 05:30:53 | |
| 2 Oct 2025 | ||
| oh wow, this is being worked on again?! | 04:19:47 | |
| excellent news! | 04:19:54 | |
| worked on is a strong word, i'm trying to give it some sort of time but i have a million other things I'm also working on at the same time lol | 04:20:27 | |
| but yes, trying to make progress on having this work | 04:20:35 | |
| 3 Oct 2025 | ||
| https://github.com/NixOS/nixpkgs/pull/448196 | 10:38:43 | |
| 4 Oct 2025 | ||
| 08:41:28 | ||
| 11:32:03 | ||