opensc: fix darwin build (#357494)

authored by Aleksana and committed by GitHub 40b061a2 6d85e684

+6 -1
+6 -1
pkgs/by-name/op/opensc/package.nix
··· 73 ) "XSLTPROC=${buildPackages.libxslt}/bin/xsltproc") 74 ]; 75 76 - PCSC_CFLAGS = lib.optionalString withApplePCSC "-I${darwin.apple_sdk.frameworks.PCSC}/Library/Frameworks/PCSC.framework/Headers"; 77 78 installFlags = [ 79 "sysconfdir=$(out)/etc"
··· 73 ) "XSLTPROC=${buildPackages.libxslt}/bin/xsltproc") 74 ]; 75 76 + PCSC_CFLAGS = lib.concatStringsSep " " ( 77 + lib.optionals withApplePCSC [ 78 + "-I${darwin.apple_sdk.frameworks.PCSC}/Library/Frameworks/PCSC.framework/Headers" 79 + "-I${lib.getDev pcsclite}/include/PCSC" 80 + ] 81 + ); 82 83 installFlags = [ 84 "sysconfdir=$(out)/etc"