patch package.nix

This commit is contained in:
Clément DOUIN
2024-11-25 08:48:33 +01:00
parent 72d4397012
commit 379d1dc97d
+2 -3
View File
@@ -34,9 +34,8 @@ rustPlatform.buildRustPackage rec {
cargoTestFlags = [ "--lib" ];
postPatch = ''
ls -al
grep -Ril "lgcc_eh" .
substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh"
cat package.nix
substituteInPlace package.nix --replace "-lgcc_eh" "-lgcc_s"
'';
nativeBuildInputs = [ ]