Skip to content

Commit

Permalink
libdigidocpp: update TSA_URL (#345532)
Browse files Browse the repository at this point in the history
  • Loading branch information
h7x4 authored Oct 1, 2024
2 parents dbed753 + f031a75 commit 1d52f48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/libdigidocpp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ stdenv.mkDerivation rec {

outputs = [ "out" "lib" "dev" "bin" ];

# Cherry-pick of
# https://github.com/open-eid/libdigidocpp/commit/2b5db855ba3ceb9bae1f11589ea1aea22bb7595a
# Fixes https://github.com/NixOS/nixpkgs/issues/334397
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'TSA_URL "http://dd-at.ria.ee/tsa"' 'TSA_URL "https://eid-dd.ria.ee/ts"'
'';

# libdigidocpp.so's `PKCS11Signer::PKCS11Signer()` dlopen()s "opensc-pkcs11.so"
# itself, so add OpenSC to its DT_RUNPATH after the fixupPhase shrinked it.
# https://github.com/open-eid/cmake/pull/35 might be an alternative.
Expand Down

0 comments on commit 1d52f48

Please sign in to comment.