Merge pull request #175376 from klemensn/qdigidoc-fix-wrap
qdigidoc: Wrap just once
This commit is contained in:
commit
292a529bd3
1 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, mkDerivation, fetchurl, cmake, gettext, makeWrapper
|
{ lib, mkDerivation, fetchurl, cmake, gettext
|
||||||
, pkg-config, libdigidocpp, opensc, openldap, openssl, pcsclite, qtbase
|
, pkg-config, libdigidocpp, opensc, openldap, openssl, pcsclite, qtbase
|
||||||
, qttranslations, qtsvg }:
|
, qttranslations, qtsvg }:
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ mkDerivation rec {
|
||||||
sha256 = "1cikz36w9phgczcqnwk4k3mx3kk919wy2327jksmfa4cjfjq4a8d";
|
sha256 = "1cikz36w9phgczcqnwk4k3mx3kk919wy2327jksmfa4cjfjq4a8d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext makeWrapper pkg-config ];
|
nativeBuildInputs = [ cmake gettext pkg-config ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace client/CMakeLists.txt \
|
substituteInPlace client/CMakeLists.txt \
|
||||||
|
@ -35,10 +35,9 @@ mkDerivation rec {
|
||||||
qttranslations
|
qttranslations
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
qtWrapperArgs = [
|
||||||
wrapProgram $out/bin/qdigidoc4 \
|
"--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/"
|
||||||
--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Qt-based UI for signing and verifying DigiDoc documents";
|
description = "Qt-based UI for signing and verifying DigiDoc documents";
|
||||||
|
|
Loading…
Reference in a new issue