| 6 Dec 2025 |
Artturin | Copy the path in the shebang and try to run it out of the build | 00:58:48 |
Artturin | Check the interpreter path with readelf -l Check file too Try running it with strace | 01:09:01 |
matthewcroughan | Artturin: Amazingly, it seems to have been an error on the nix daemon or scheduler somehow | 02:37:25 |
matthewcroughan | or something inexplicable | 02:37:28 |
matthewcroughan | I rebuilt everything, seems to have worked now | 02:37:40 |
matthewcroughan | maybe it was some rare case that can happen in the build, a race or something with patching the configure script | 02:37:58 |
| P J joined the room. | 07:43:21 |
| 7 Dec 2025 |
Jaafar | Would cc be just the compiler or the whole toolchain (i.e. linker, libc++, etc.)? Because I'd like the latter.
I have something like this inside a libcxxStdenv.mkDerivation
buildInputs = [
pkgs.wineWow64Packages.stableFull
];
nativeBuildInputs = [
pkgs.pkgsCross.mingwW64.stdenv.cc
];
| 20:46:55 |
Jaafar | * Would cc be just the compiler or the whole toolchain (i.e. linker, libc++, etc.)? Because I'd like the latter.
I have something like this inside a libcxxStdenv.mkDerivation
nativeBuildInputs = [
pkgs.pkgsCross.mingwW64.stdenv.cc
];
| 20:47:14 |
Jaafar | * Would cc be just the compiler or the whole toolchain (i.e. linker, C++ standard library, etc.)? Because I'd like the latter.
I have something like this inside a libcxxStdenv.mkDerivation
nativeBuildInputs = [
pkgs.pkgsCross.mingwW64.stdenv.cc
];
| 20:47:39 |
Artturin | depsBuildBuild = [ pkgsBuildBuild.stdenv.cc ];, usually done as buildPackages.stdenv.cc in nixpkgs for some reason
stdenv is special in the way that it comes from the previous stage
buildPackages = pkgsBuildHost
| 21:08:23 |
dramforever | these are the same, fortunately | 21:09:12 |
dramforever | i think | 21:09:32 |
Artturin | They're the same | 21:09:41 |
dramforever | yeah they're the same | 21:09:50 |
Artturin | * depsBuildBuild = [ pkgsBuildBuild.stdenv.cc ];, usually done as buildPackages.stdenv.cc in nixpkgs for some reason
stdenv is special in the way that it comes from the previous stage so for it either of those 2 is fine
buildPackages = pkgsBuildHost
| 21:11:04 |
Artturin | You can build stdenv.cc and see what's in it | 21:16:28 |
Artturin | It has the hooks to add the required vars and populate them | 21:16:42 |
Artturin | * It has the hooks to add the required vars and populate them for the wrapper | 21:16:54 |
| 10 Dec 2025 |
| Theodora changed their display name from Theodora The Absurdist Schizotisticoball to Theodora. | 12:17:32 |
Artturin | https://github.com/NixOS/nixpkgs/pull/469584 | 13:02:15 |
| 11 Dec 2025 |
| @creepinson:matrix.org left the room. | 06:15:52 |
| Theo Paris joined the room. | 06:16:55 |
| suua joined the room. | 16:09:42 |
| @curid:matrix.org left the room. | 18:01:33 |
| TG × ⊙ joined the room. | 19:53:03 |
| 14 Dec 2025 |
| missbehaves changed their profile picture. | 14:29:09 |
| 17 Dec 2025 |
Nadia | does anyone have any insight in what could be going wrong here? I'm encountering the same problem (but I'm not the one who posted the thread) https://discourse.nixos.org/t/embedded-compilation-with-llvm-clang/72406 | 14:43:13 |
bake.monorail | Gentle reminder about the uclibc PR :) | 23:00:15 |
| 18 Dec 2025 |
bake.monorail | I'm rather sad that end-of-life'd compilers are dropped from nixpkgs. old compilers are sometimes very useful. is it such a large burden to keep them alive? | 13:18:38 |