perlPackages.ChipcardPCSC: fix cross

This commit is contained in:
Adam Joseph 2024-04-15 13:09:15 -07:00 committed by Florian Klink
parent 2c387ccce1
commit b9fe1f4e3b

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;