Skip to content

Commit

Permalink
chrome-token-signing: fix path to opensc-pkcs11
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 3, 2018
1 parent 0c02963 commit 4cf1d88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/tools/security/chrome-token-signing/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qmake, pcsclite, pkgconfig }:
{ stdenv, fetchFromGitHub, qmake, pcsclite, pkgconfig, opensc }:

stdenv.mkDerivation rec {
name = "chrome-token-signing-${version}";
Expand All @@ -16,6 +16,9 @@ stdenv.mkDerivation rec {

patchPhase = ''
substituteInPlace host-linux/ee.ria.esteid.json --replace /usr $out
# TODO: macos
substituteInPlace host-shared/PKCS11Path.cpp \
--replace opensc-pkcs11.so ${opensc}/lib/pkcs11/opensc-pkcs11.so
'';

installPhase = ''
Expand Down

0 comments on commit 4cf1d88

Please sign in to comment.