| 23 Feb 2026 |
Theo Paris | I'm not even sure where to start to attempt to fix this issue... I could try adding nativeBuildInputs or removeAttrs but I'm not sure if those are the right solutions | 01:00:37 |
Artturin | In reply to @theo-paris:matrix.org
Not sure if this is the right place for this but: I was testing github.com/NixOS/nixpkgs/pull/463361 with a nixos config flake using
nixpkgs.localSystem = {
system = "x86_64-linux";
useLLVM = true;
linker = "lld";
};
And I ran into the following error:
β¦ while evaluating the option `home-manager.users.theo.i18n.glibcLocales':
β¦ while evaluating the option `i18n.glibcLocales':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: function 'anonymous lambda' called with unexpected argument 'nativeBuildInputs'
at /nix/store/hq30166l4qc2l2va8v4lj9fyg894wdqs-source/pkgs/build-support/fetchurl/boot.nix:10:1:
9|
10| {
| ^
11| url ? builtins.head urls,
That's a common symptom of bootstrap issues The bootstrap fetchurl is used in a place where the full fetchurl should be used. It's not an issue in fetchurl itself
https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/boot.nix | 01:34:32 |
| 24 Feb 2026 |
| haylin joined the room. | 04:17:53 |
vcunat | The cross-trunk jobset is broken now:
https://hydra.nixos.org/jobset/nixpkgs/cross-trunk#tabs-errors | 07:34:18 |
vcunat | Probably since https://github.com/NixOS/nixpkgs/pull/488406#event-22999337645 | 07:34:44 |
vcunat | I don't even know what error is relevant in there. | 07:39:49 |
| @cdepillabout:matrix.org left the room. | 07:40:25 |
vcunat | Oh wait, it probably isn't broken. | 07:46:16 |
vcunat | For a couple days there was no rebuild of those jobs, apparently. And the timer just hasn't fired since the staging-next merge yesterday π€¦ | 07:46:54 |
vcunat | We'll see in about an hour; I queued an eval. | 07:47:10 |
crazychaoz | what happened in between
β’ Updated input 'nixpkgs':
'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
β 'github:NixOS/nixpkgs/724cf38d99ba81fbb4a347081db93e2e3a9bc2ae?narHash=sha256-MpAKyXfJRDTgRU33Hja%2BG%2B3h9ywLAJJNRq4Pjbb4dQs%3D' (2026-02-19)
so that
error: Package βmingw_w64-pthreads-13.0.0β in /nix/store/00k5v1i44s1dqjryvq6q414rnha8x6ld-source/pkgs/os-specific/windows/mingw-w64/headers.nix:35 is not available on the requested hostPlatform:
hostPlatform.system = "x86_64-linux"
package.meta.platforms = [
"aarch64-windows"
"x86_64-windows"
"i686-windows"
]
(i cannot cross compile for windows anymore)
error (gcc-15.2.0):
> The directory (BUILD_SYSTEM_HEADER_DIR) that should contain system headers does not exist:
> /usr/include
> make[2]: *** [Makefile:3641: stmp-fixinc] Error 1
> rm gcc.pod
> make[2]: Leaving directory '/build/build/gcc'
| 09:32:21 |
crazychaoz | * what happened in between
β’ Updated input 'nixpkgs':
'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
β 'github:NixOS/nixpkgs/724cf38d99ba81fbb4a347081db93e2e3a9bc2ae?narHash=sha256-MpAKyXfJRDTgRU33Hja%2BG%2B3h9ywLAJJNRq4Pjbb4dQs%3D' (2026-02-19)
so that
error: Package βmingw_w64-pthreads-13.0.0β in /nix/store/00k5v1i44s1dqjryvq6q414rnha8x6ld-source/pkgs/os-specific/windows/mingw-w64/headers.nix:35 is not available on the requested hostPlatform:
hostPlatform.system = "x86_64-linux"
package.meta.platforms = [
"aarch64-windows"
"x86_64-windows"
"i686-windows"
]
(i cannot cross compile for windows anymore)
error (gcc-15.2.0):
> The directory (BUILD_SYSTEM_HEADER_DIR) that should contain system headers does not exist:
> /usr/include
> make[2]: *** [Makefile:3641: stmp-fixinc] Error 1
> rm gcc.pod
> make[2]: Leaving directory '/build/build/gcc'
| 09:32:29 |
vcunat | It evaluated fine. I'm sorry for the false alarm. | 10:20:46 |
vcunat | Though the "removed jobs" might be worth investigating:
https://hydra.nixos.org/eval/1823123 | 10:20:53 |
vcunat | * The jobset evaluated fine. I'm sorry for the false alarm. | 10:21:51 |
alexfmpe | In reply to @crazychaoz:matrix.org
what happened in between
β’ Updated input 'nixpkgs':
'github:NixOS/nixpkgs/41da1e3ea8e23e094e5e3eeb1e6b830468a7399e?narHash=sha256-jp0D4vzBcRKwNZwfY4BcWHemLGUs4JrS3X9w5k/JYDA%3D' (2025-06-14)
β 'github:NixOS/nixpkgs/724cf38d99ba81fbb4a347081db93e2e3a9bc2ae?narHash=sha256-MpAKyXfJRDTgRU33Hja%2BG%2B3h9ywLAJJNRq4Pjbb4dQs%3D' (2026-02-19)
so that
error: Package βmingw_w64-pthreads-13.0.0β in /nix/store/00k5v1i44s1dqjryvq6q414rnha8x6ld-source/pkgs/os-specific/windows/mingw-w64/headers.nix:35 is not available on the requested hostPlatform:
hostPlatform.system = "x86_64-linux"
package.meta.platforms = [
"aarch64-windows"
"x86_64-windows"
"i686-windows"
]
(i cannot cross compile for windows anymore)
error (gcc-15.2.0):
> The directory (BUILD_SYSTEM_HEADER_DIR) that should contain system headers does not exist:
> /usr/include
> make[2]: *** [Makefile:3641: stmp-fixinc] Error 1
> rm gcc.pod
> make[2]: Leaving directory '/build/build/gcc'
That sounds very recent, I've been cross compiling to windows for months | 10:40:03 |
crazychaoz | how? for me it worked previously with:
TARGET_CC = "${pkgs.pkgsCross.mingwW64.stdenv.cc}/bin/${pkgs.pkgsCross.mingwW64.stdenv.cc.targetPrefix}cc";
depsBuildBuild = with pkgs; [
pkgsCross.mingwW64.stdenv.cc
pkgsCross.mingwW64.windows.pthreads
perl
];
| 11:22:33 |
alexfmpe | I've mostly used pkgsCross.ucrt64, not sure about that one | 11:34:48 |
alexfmpe | pkgsCross.ucrt64.windows.pthreads builds for me | 11:35:41 |
alexfmpe | actually pkgsCross.mingwW64.windows.pthreads also builds for me | 11:36:45 |
alexfmpe | on aarch64-darwin | 11:36:49 |
crazychaoz | i believe the error is with the cc | 11:38:27 |
crazychaoz | β ββ β΅ gcc-15.2.0 (buildPhase) β± 5m0s
β ββ βΈ gcc-wrapper-15.2.0
β ββ βΈ stdenv-linux
β ββ βΈ mingw_w64-pthreads-13.0.0
| 11:40:49 |
alexfmpe | nix-build -A pkgsCross.mingwW64.stdenv.cc also built for me | 12:01:27 |
alexfmpe | ββ Dependency Graph:
β ββ β dlltool
β β ββ β 001-fix-rpath.patch
β ββ β meson-1.10.1 β± 5m9s
β β ββ β β gcc-15.2.0.tar.xz from [2]
β β β ββ β mingw_w64-headers-13.0.0 β± 7s
β β β ββ β x86_64-w64-mingw32-binutils-2.44 β± 3m1s
β β ββ β x86_64-w64-mingw32-binutils-wrapper-2.44 β± 4s
β β ββ β x86_64-w64-mingw32-nolibc-gcc-15.2.0 β± 6m26s
β β ββ β win-dll-hook.sh
β β ββ β x86_64-w64-mingw32-nolibc-gcc-wrapper-15.2.0
β β ββ β stdenv-darwin
β β ββ β mingw-w64-x86_64-w64-mingw32-13.0.0 β± 3m53s
β β ββ β x86_64-w64-mingw32-binutils-wrapper-2.44
β β ββ β x86_64-w64-mingw32-nolibc-gcc-wrapper-15.2.0
β ββ β stdenv-darwin
β ββ β mcfgthread-x86_64-w64-mingw32-2.3.1 β± 13s
β ββ β x86_64-w64-mingw32-gcc-15.2.0 β± 7m52s
β ββ β win-dll-hook.sh
β β x86_64-w64-mingw32-gcc-wrapper-15.2.0
| 12:01:45 |
alexfmpe | I can't test on linux right now | 12:02:07 |
alexfmpe | * I can't test on x86_64-linux right now | 12:02:21 |
alexfmpe | this was on master | 12:03:49 |
alexfmpe | if I try in your 724... commit, pkgsCross.mingwW64.stdenv.cc is fetched from cache | 12:05:08 |
crazychaoz | just as a sanity check: please update & compile this: https://github.com/CrazyChaoz/backtor | 12:06:35 |