Nix Hackers | 892 Members | |
| For people hacking on the Nix package manager itself | 187 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Sep 2025 | ||
| The directory where file is trying to install itself into is ovbiously already existing and well-referred:
| 18:48:18 | |
| * I'm currently on a very fun trip into ca-derivations, currently fighting with a package that appears to try to build/install into the nix store even if it already exists. Are there any tips as to figure out why Nix decides to rebuild that package? | 18:49:11 | |
| 7 Sep 2025 | ||
| 06:14:31 | ||
| 06:14:40 | ||
| 06:15:16 | ||
| 09:43:20 | ||
| Sergei Zimmerman (xokdvium): hi! I am at the nixcon hack day, trying to get rid of null-terminated strings; John Ericson told me to reach out to you | 09:45:55 | |
| when I did pascal-strings for tvix-eval it was like a 15% improvement on evaluating pkgs.hello.outPath | 09:48:22 | |
| FWIW Lix is also moving in this direction. https://git.lix.systems/lix-project/lix/issues/963 emily | 09:50:17 | |
| Aspen Smith: https://github.com/NixOS/nix/pull/13407 | 09:57:36 | |
| 15:39:56 | ||
| 21:34:45 | ||
| 8 Sep 2025 | ||
| Some insights into 128 bit atomics in gcc: https://gcc.gnu.org/legacy-ml/gcc/2018-02/msg00224.html https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84563 | 00:11:35 | |
| 02:15:58 | ||
| 13:36:49 | ||
| I'm having trouble overriding stdenv for the nix package:
Building this package does not actually trigger a build but reuses the gcc artifacts while rebuilding some kind of wrapper (?)
This should probably say something like:
Overriding still works for the autoconf based build (nix_2_24) but not for any of the newer package builds. It seems like the override is silently ignored and not passed down to the sub-derivations anymore. | 13:50:11 | |
| Did you try?
| 14:37:21 | |
| Yes that is looking good, thanks. Is this the preferred way to do overrides for those types of packages now? | 15:35:33 | |
In reply to @oddlama:matrix.orgFor the modular packaging - yes. Since now this is not a monolithic package that you can override | 16:04:22 | |
| Also an example on how to add patches
| 16:05:49 | |
| 9 Sep 2025 | ||
this is seemingly missing where commonPatches comes from fyi | 02:21:31 | |
| * Also an example on how to add patches
| 08:50:38 | |
| That's just a list I have somewhere above in a let in | 08:50:56 | |
| 15:02:57 | ||
| Curiously, Boehm granule size on 64 bit systems is 16 bytes. That means that 16 byte atomics for Value are very workable, since x86_64 needs stuff to be 16 bytes aligned (otherwise memory might straddle the cache line and that wonβt be atomic ever) | 17:31:17 | |
| 10 Sep 2025 | ||
| 00:34:03 | ||
| 12:31:49 | ||
| 14:18:45 | ||
| 14:56:12 | ||
| 22:20:37 | ||