summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/cac-api/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-04 01:55:59 +0100
committertv <tv@krebsco.de>2016-02-04 02:01:27 +0100
commit1745d3efa0be1687d482077c75942cf9d6a5ecc2 (patch)
treeda64e63f8c5f9f9e73a2587c8c07eeed83519aac /krebs/5pkgs/cac-api/default.nix
parentf095b0267a94e7b8b5ff9acbf54ce11df4a40d8f (diff)
cac-cert: init
Diffstat (limited to 'krebs/5pkgs/cac-api/default.nix')
-rw-r--r--krebs/5pkgs/cac-api/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/5pkgs/cac-api/default.nix b/krebs/5pkgs/cac-api/default.nix
index 331b0853f..9ab6ac8b2 100644
--- a/krebs/5pkgs/cac-api/default.nix
+++ b/krebs/5pkgs/cac-api/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, bc, coreutils, curl, dash, gnused, inotifyTools, jq, ncurses, openssh, sshpass, ... }:
+{ stdenv, fetchgit, bc, cac-cert, coreutils, curl, dash, gnused, inotifyTools, jq, ncurses, openssh, sshpass, ... }:
stdenv.mkDerivation {
name = "cac-api-1.1.0";
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
# Unknown column 'iod.apitask.cid' in 'field list'
sed '
/^\s*tasks \\$/d; # [1]
- s|\<_cac_exec curl|<${./cac.pem} & --cacert /dev/stdin|
+ s|\<_cac_exec curl|<${cac-cert} & --cacert /dev/stdin|
' cac-api
} > $out/bin/cac-api
chmod +x $out/bin/cac-api