diff options
author | tv <tv@krebsco.de> | 2016-10-13 21:06:43 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-10-13 21:51:27 +0200 |
commit | b4ec1fba50dc81df89cce88808dab1e232806cf4 (patch) | |
tree | c855686d7ed53e22bdfc9a2a9c2c860295792b17 /krebs/5pkgs/default.nix | |
parent | 9cb65273b1e832f1bf7d98e977a0179c81d24b44 (diff) |
lib: inline has-default-nix
Diffstat (limited to 'krebs/5pkgs/default.nix')
-rw-r--r-- | krebs/5pkgs/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/default.nix b/krebs/5pkgs/default.nix index cdab64212..75d1dac82 100644 --- a/krebs/5pkgs/default.nix +++ b/krebs/5pkgs/default.nix @@ -17,7 +17,7 @@ with config.krebs.lib; in {} // import ./builders.nix args // mapAttrs (_: flip callPackage {}) - (filterAttrs (_: dir.has-default-nix) + (filterAttrs (_: dir: pathExists (dir + "/default.nix")) (subdirsOf ./.)) // { empty = pkgs.runCommand "empty-1.0.0" {} "mkdir $out"; |