From 98741092302a796554b727f54cef1316b405562d Mon Sep 17 00:00:00 2001
From: tv <tv@krebsco.de>
Date: Wed, 24 May 2017 02:12:02 +0200
Subject: [PATCH] krebs/5pkgs: move test stuff to a subdir

---
 krebs/5pkgs/default.nix      | 5 +----
 krebs/5pkgs/test/default.nix | 9 +++++++++
 2 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 krebs/5pkgs/test/default.nix

diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index ea14e02a4..6dbb0954f 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -3,6 +3,7 @@ with import <stockholm/lib>;
   {}
   // import ./haskell pkgs oldpkgs
   // import ./simple pkgs oldpkgs
+  // import ./test pkgs oldpkgs
   // import ./writers.nix pkgs oldpkgs
   // {
     ReaktorPlugins = pkgs.callPackage ./simple/Reaktor/plugins.nix {};
@@ -22,8 +23,4 @@ with import <stockholm/lib>;
     symlinkJoin = { name, paths, ... }@args: let
       x = oldpkgs.symlinkJoin args;
     in if typeOf x != "lambda" then x else oldpkgs.symlinkJoin name paths;
-
-    test = {
-      infest-cac-centos7 = pkgs.callPackage ./test/infest-cac-centos7 {};
-    };
   }
diff --git a/krebs/5pkgs/test/default.nix b/krebs/5pkgs/test/default.nix
new file mode 100644
index 000000000..5ee8f913b
--- /dev/null
+++ b/krebs/5pkgs/test/default.nix
@@ -0,0 +1,9 @@
+with import <stockholm/lib>;
+
+self: super:
+
+{
+  test = {
+    infest-cac-centos7 = self.callPackage ./infest-cac-centos7 {};
+  };
+}