libdigidocpp: enable multiple outputs

This moves digidoc-tool (2MB) out of the runtime closure of qdigidoc.
This commit is contained in:
Florian Klink 2022-06-02 21:32:04 +02:00
parent 7b3000f1d0
commit 134036f642

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/
'';