diff --git a/pkgs/by-name/st/step-kms-plugin/package.nix b/pkgs/by-name/st/step-kms-plugin/package.nix index 8683bafe7c72..fecf9a3fb954 100644 --- a/pkgs/by-name/st/step-kms-plugin/package.nix +++ b/pkgs/by-name/st/step-kms-plugin/package.nix @@ -42,13 +42,13 @@ buildGoModule rec { "-X github.com/smallstep/step-kms-plugin/cmd.Version=${version}" ]; + CGO_CFLAGS = "-I${lib.getDev pcsclite}/include/PCSC/"; + meta = with lib; { description = "Step plugin to manage keys and certificates on cloud KMSs and HSMs"; homepage = "https://smallstep.com/cli/"; license = licenses.asl20; maintainers = with maintainers; [ qbit ]; mainProgram = "step-kms-plugin"; - # can't find pcsclite header files - broken = stdenv.hostPlatform.isDarwin; }; }