From af061c0795909495600c9a245593fcb6cd68fbc6 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Mon, 18 Aug 2025 18:57:21 +0200 Subject: [PATCH] stage.nix: pkgsStatic: don't override all of hostPlatform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `pkgsStatic` was keeping `hostPlatform.parsed`, but all other configured parts of `hostPlatform` (AKA `crossSystem`) were discarded. This fixes that, making `pkgsStatic` work like `pkgsLLVM`, `pkgsZig`, etc. And now `pkgsLLVM.pkgsStatic` is the same as `pkgsStatic.pkgsLLVM` 🎉 --- pkgs/top-level/stage.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index bfc2ee8f664c9..1ce6e69b7d0ab 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -316,7 +316,7 @@ let }) ] ++ overlays; - crossSystem = { + crossSystem = stdenv.hostPlatform // { isStatic = true; config = lib.systems.parse.tripleFromSystem ( if stdenv.hostPlatform.isLinux then