Merge pull request #175991 from flokli/libdigidocpp-multiple-outputs

libdigidocpp: enable multiple outputs
This commit is contained in:
Florian Klink 2022-06-03 14:34:30 +02:00 committed by GitHub
commit 968964fa8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,12 @@ stdenv.mkDerivation rec {
xml-security-c xsd zlib xalanc
];
outputs = [ "out" "lib" "dev" "bin" ];
# replace this hack with a proper cmake variable or environment variable
# once https://github.com/open-eid/cmake/pull/34 (or #35) gets merged.
postInstall = ''
wrapProgram $out/bin/digidoc-tool \
wrapProgram $bin/bin/digidoc-tool \
--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/
'';