summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index 6dbb0954f..820f0cdc8 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -1,10 +1,13 @@
pkgs: oldpkgs:
with import <stockholm/lib>;
- {}
- // import ./haskell pkgs oldpkgs
- // import ./simple pkgs oldpkgs
- // import ./test pkgs oldpkgs
- // import ./writers.nix pkgs oldpkgs
+
+ foldl' mergeAttrs {}
+ (map
+ (name: import (./. + "/${name}") pkgs oldpkgs)
+ (filter
+ (name: name != "default.nix" && !hasPrefix "." name)
+ (attrNames (readDir ./.))))
+
// {
ReaktorPlugins = pkgs.callPackage ./simple/Reaktor/plugins.nix {};