summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/cac
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/cac')
-rw-r--r--krebs/5pkgs/cac/default.nix3
-rw-r--r--krebs/5pkgs/cac/disable-tasks.patch10
2 files changed, 12 insertions, 1 deletions
diff --git a/krebs/5pkgs/cac/default.nix b/krebs/5pkgs/cac/default.nix
index 4d39ce2fb..970cd1993 100644
--- a/krebs/5pkgs/cac/default.nix
+++ b/krebs/5pkgs/cac/default.nix
@@ -11,9 +11,10 @@ stdenv.mkDerivation {
phases = [
"unpackPhase"
+ "patchPhase"
"installPhase"
];
-
+ patches = [ ./disable-tasks.patch ];
installPhase =
let
path = stdenv.lib.makeSearchPath "bin" [
diff --git a/krebs/5pkgs/cac/disable-tasks.patch b/krebs/5pkgs/cac/disable-tasks.patch
new file mode 100644
index 000000000..cbff567e2
--- /dev/null
+++ b/krebs/5pkgs/cac/disable-tasks.patch
@@ -0,0 +1,10 @@
+--- cac-orig/cac 2016-01-18 17:48:24.492284682 +0100
++++ cac/cac 2016-01-18 17:48:43.529736771 +0100
+@@ -121,7 +121,6 @@
+ for x in \
+ resources \
+ servers \
+- tasks \
+ templates \
+ # This line intentionally left blank.
+ do