Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
syncstat: setup certs for slack
Browse files Browse the repository at this point in the history
This should finally resolve the slack messages not sending.
  • Loading branch information
nrdxp committed Jun 16, 2021
1 parent d302194 commit 1652445
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion jobs/tasks/sync_stat.cue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ import (
leader: true

env: {
RUST_LOG: "DEBUG"
RUST_LOG: "DEBUG"
SSL_CERT_FILE: "/etc/ssl/certs/ca-bundle.crt"
}

template: "env.txt": {
Expand Down
16 changes: 11 additions & 5 deletions pkgs/syncstat/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@
naersk-lib = naersk.lib."${system}";
in rec {
# `nix build`
packages.syncstat = naersk-lib.buildPackage {
pname = "syncstat";
root = ./.;
packages.syncstat = pkgs.symlinkJoin {
name = "syncstat";
paths = [
pkgs.cacert
(naersk-lib.buildPackage {
pname = "syncstat";
root = ./.;

PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
nativeBuildInputs = [ pkgs.pkgconfig ];
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
nativeBuildInputs = [ pkgs.pkgconfig ];
})
];
};
defaultPackage = packages.syncstat;

Expand Down

0 comments on commit 1652445

Please sign in to comment.