perlPackages.ChipcardPCSC: fix cross

This commit is contained in:
Adam Joseph
2024-04-19 11:51:02 +03:00
committed by Florian Klink
parent 2c387ccce1
commit b9fe1f4e3b
+3
View File
@@ -3312,6 +3312,9 @@ with self; {
"-Wno-error=implicit-int"
"-Wno-error=int-conversion"
]);
postPatch = ''
substituteInPlace Makefile.PL --replace pkg-config $PKG_CONFIG
'';
NIX_CFLAGS_LINK = "-L${lib.getLib pkgs.pcsclite}/lib -lpcsclite";
# tests fail; look unfinished
doCheck = false;