| 28 Nov 2025 |
| Grimmauld (any/all) changed their display name from musl-official | Grimm | any/all to Grimmauld (any/all). | 11:36:00 |
| 29 Nov 2025 |
| amadaluzia changed their profile picture. | 11:41:34 |
Grimmauld (any/all) | The solution seems simple enough. https://github.com/NixOS/nixpkgs/blob/2fad6eac6077f03fe109c4d4eb171cf96791faa4/pkgs/development/compilers/llvm/common/llvm/default.nix#L29-L33 Just make this enablePFM ? false, it already only works on x86_64-linux. | 22:47:10 |
Grimmauld (any/all) | anyways, i am building llvm native musl nixos rn (cc Tristan Ross , its mostly on top of your PR). Findings so far:
- a bunch of things are pulling libgcc via non-strict deps and fail on llvm native
- bison is bork
- a couple tests are bork (mpfr, fmt)
- pfm in llvm causes issues (either disable in llvm, or allow it if cc for stdenv is llvm)
- python3 minimal fails (not allowed to refer to libunwind)
there is probably more
| 22:51:32 |
Grimmauld (any/all) | musl uses netbsd getent in places, and https://github.com/NixOS/nixpkgs/blob/1706fddce8c13a9e08d838d17a629056b2e323d7/pkgs/os-specific/bsd/netbsd/pkgs/fts/package.nix#L8 requires ssp for some reason and thus fails on llvm native | 22:52:48 |
Tristan Ross | I've observed a bunch of similar things | 22:59:18 |
Tristan Ross | Notably bison is a big one | 22:59:33 |
Tristan Ross | pkgsLLVM.bison and bison (native LLVM) both fail | 22:59:46 |
Grimmauld (any/all) | the fun thing: gcc ng has ssp, but fails on musl because our gcc 15 patch at https://github.com/sywangyi/hf-nix/blob/351655d9f124805ed7c1193aa61550ce245f4570/pkgs/gcc/ng/15/gcc/fix-collect2-paths.diff#L158 calls basename without #include <libgen.h> | 23:00:36 |
Grimmauld (any/all) | so its undefined symbol on musl | 23:00:58 |
Tristan Ross | The way I fixed python btw is add libunwind as being allowed when LLVM is enabled | 23:01:53 |
Grimmauld (any/all) | yeah thats fair | 23:02:00 |
Tristan Ross | I actually found an infinite recursion bug that way and it prompted me to redoing things better | 23:02:13 |
Grimmauld (any/all) | * the fun thing: gcc ng has ssp, but fails on musl because our gcc 15 patch at https://github.com/NixOS/nixpkgs/blob/d8cc7e69d5bcb3536cc27e5b783fe85730c468d2/pkgs/development/compilers/gcc/ng/15/gcc/fix-collect2-paths.diff calls basename without #include <libgen.h> Edit: wrong link | 23:04:43 |
| 1 Dec 2025 |
| matthewcroughan changed their profile picture. | 14:57:50 |
| 4 Dec 2025 |
| Ido Samuelson joined the room. | 01:45:08 |
| onur-ozkan joined the room. | 04:20:25 |
| 5 Dec 2025 |
| 👉@crystallinefire:chat.solarpunk.moe changed their display name from EVA-01 to 👉@crystallinefire:chat.solarpunk.moe. | 17:18:12 |
| 8 Dec 2025 |
| Gian joined the room. | 00:53:28 |
| 10 Dec 2025 |
| Theodora changed their display name from Theodora The Absurdist Schizotisticoball to Theodora. | 12:17:52 |
| 11 Dec 2025 |
| suua joined the room. | 16:09:30 |
| 13 Dec 2025 |
| NixOS Moderation Bot unbanned @joepie91:pixie.town. | 05:59:05 |
| 16 Dec 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://github.com/asterinas/asterinas | 16:58:43 |
| 17 Dec 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | [root@asterinas:~]# cat /proc/version
Linux version 5.13.0 (root@kiryca) (rustc 1.94.0-nightly) #1 Wed Dec 17 02:57:56 UTC 2025
| 03:35:54 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) |  Download 2025-12-17-T11-50-44.png | 03:51:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | The ext2 filesystem driver is quite unstable and can crash at any time due to heavy writes | 03:58:33 |
| 22 Dec 2025 |
| amadaluzia[psolar] changed their display name from amadALTuzia (pub.solar) to amadaluzia[psolar]. | 17:31:17 |
| 24 Dec 2025 |
hacker1024 | Hi all, I'm trying to write a derivation for an embedded C++ microcontroller application. For this, I must use a copy of libstdc++ with something like --enable-cxx-flags='-fno-exceptions -fno-rtti' (docs here). Is there a way to configure Nixpkgs to use these settings for libstdc++ for the host platform? Something to add to the following, for example?
import <nixpkgs> {
crossSystem = {
config = "arm-none-eabihf";
libc = "newlib-nano";
gcc = {
cpu = "cortex-m7";
fpu = "fpv5-d16";
float-abi = "hard";
thumb = true;
};
rust.rustcTarget = "thumbv7em-none-eabihf";
isStatic = true;
}
}
| 06:04:25 |
hacker1024 | I'm looking at something like this patch to Nixpkgs at the moment, but hopefully there's an existing mechanism I'm yet to discover
--- a/pkgs/development/compilers/gcc/common/platform-flags.nix
+++ b/pkgs/development/compilers/gcc/common/platform-flags.nix
@@ -17,6 +17,7 @@ lib.concatLists [
(lib.optional (p ? fpu) "--with-fpu=${p.fpu}")
(lib.optional (p ? float) "--with-float=${p.float}")
(lib.optional (p ? mode) "--with-mode=${p.mode}")
+ (lib.optional (p ? enableCxxFlags) "--enable-cxx-flags=${builtins.concatStringsSep ''\ '' p.enableCxxFlags}")
(lib.optionals targetPlatform.isPower64
# musl explicitly rejects 128-bit long double on
# powerpc64; see musl/arch/powerpc64/bits/float.h
| 06:36:36 |
| amadaluzia changed their profile picture. | 16:53:16 |