From 623e2e0f687974e359a991cd866142fed1b44583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Mon, 25 Nov 2024 08:27:05 +0100 Subject: [PATCH] try postPatch to fix lgcc_eh --- package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.nix b/package.nix index dd5d904e..6ad26f86 100644 --- a/package.nix +++ b/package.nix @@ -33,6 +33,10 @@ rustPlatform.buildRustPackage rec { doCheck = false; cargoTestFlags = [ "--lib" ]; + postPatch = '' + substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh" + ''; + nativeBuildInputs = [ ] ++ lib.optional (installManPages || installShellCompletions) installShellFiles;