summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-08 00:46:17 +0100
committertv <tv@krebsco.de>2016-02-08 00:47:43 +0100
commitec7dc8a5ace37cdf1005cabd5a8554f4dc73727e (patch)
treee7a38f1893cf31c9446650fc062b279a7ffb867c /krebs/5pkgs/default.nix
parent2b8b92cf751831cfbfbf56745871b5242e29c26a (diff)
krebs pkgs: callPackages only subdirs with a defaut.nix
Diffstat (limited to 'krebs/5pkgs/default.nix')
-rw-r--r--krebs/5pkgs/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix
index a0ccdcf49..cf81a96c5 100644
--- a/krebs/5pkgs/default.nix
+++ b/krebs/5pkgs/default.nix
@@ -2,8 +2,9 @@
with lib;
let
- subdirs = mapAttrs (_: flip pkgs.callPackage {}) (subdirsOf ./.);
- pkgs' = pkgs // subdirs;
+ subdirs = mapAttrs (_: flip pkgs.callPackage {})
+ (filterAttrs (_: dir.has-default-nix)
+ (subdirsOf ./.));
in
subdirs // rec {
@@ -22,7 +23,7 @@ subdirs // rec {
(builtins.readDir ./haskell-overrides));
};
- push = pkgs'.callPackage ./push {
+ push = pkgs.callPackage ./push {
inherit (subdirs) get jq;
};