From 010dae39d3e0335c6939993eb303100c3ae552c8 Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Wed, 20 Aug 2025 18:25:02 +0200 Subject: [PATCH] capnproto: fix platform offset Backport of https://github.com/NixOS/nixpkgs/commit/8b0263aba578e2fa611a528bedcfc5cf4d5a687c . Change-Id: I6a6a6964917df3610cd728c696ecdcd8ea6e61a4 --- misc/capnproto.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/capnproto.nix b/misc/capnproto.nix index 4100290de..252f3d547 100644 --- a/misc/capnproto.nix +++ b/misc/capnproto.nix @@ -46,7 +46,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ openssl zlib - ] ++ lib.optional (stdenv.cc.isClang && stdenv.targetPlatform.isStatic) empty-libgcc_eh; + ] ++ lib.optional (stdenv.cc.isClang && stdenv.hostPlatform.isStatic) empty-libgcc_eh; # FIXME: separate the binaries from the stuff that user systems actually use # This runs into a terrible UX issue in Lix and I just don't want to debug it