Skip to content

Commit 03528fb

Browse files
opensc: fix strictDeps build (#373798)
2 parents 4e7b3c0 + 3dd58b0 commit 03528fb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pkgs/by-name/op/opensc/package.nix

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
libxslt,
1616
docbook_xml_dtd_412,
1717
darwin,
18-
buildPackages,
1918
nix-update-script,
2019
withApplePCSC ? stdenv.hostPlatform.isDarwin,
2120
}:
@@ -34,6 +33,7 @@ stdenv.mkDerivation rec {
3433
nativeBuildInputs = [
3534
pkg-config
3635
autoreconfHook
36+
libxslt # xsltproc
3737
];
3838
buildInputs =
3939
[
@@ -42,7 +42,6 @@ stdenv.mkDerivation rec {
4242
openssl
4343
libassuan
4444
libXt
45-
libxslt
4645
libiconv
4746
docbook_xml_dtd_412
4847
]
@@ -68,9 +67,6 @@ stdenv.mkDerivation rec {
6867
else
6968
"${lib.getLib pcsclite}/lib/libpcsclite${stdenv.hostPlatform.extensions.sharedLibrary}"
7069
}"
71-
(lib.optionalString (
72-
stdenv.hostPlatform != stdenv.buildPlatform
73-
) "XSLTPROC=${buildPackages.libxslt}/bin/xsltproc")
7470
];
7571

7672
PCSC_CFLAGS = lib.concatStringsSep " " (

0 commit comments

Comments
 (0)