try postPatch to fix lgcc_eh

This commit is contained in:
Clément DOUIN
2024-11-25 08:27:05 +01:00
parent 557d341b24
commit 623e2e0f68
+4
View File
@@ -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;