mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
chrome-token-signing: fix path to opensc-pkcs11
This commit is contained in:
parent
0c029635cd
commit
4cf1d88d12
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, qmake, pcsclite, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, qmake, pcsclite, pkgconfig, opensc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chrome-token-signing-${version}";
|
||||
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user