diff options
author | makefu <github@syntax-fehler.de> | 2018-08-16 12:18:59 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-16 12:18:59 +0200 |
commit | 48674cb1a6738c09e3b299cffe1461d2313bafc5 (patch) | |
tree | 36f769f2a42ba27414a86886a9b8fc31261b64a6 /5pkgs/default.nix | |
parent | 7d8bcdba9a4667b03d58d70264b4b2b4e5d50af2 (diff) |
ma pkgs/default: remove stockholm dependency
Diffstat (limited to '5pkgs/default.nix')
-rw-r--r-- | 5pkgs/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/5pkgs/default.nix b/5pkgs/default.nix index b1d6df67e..390c13ffe 100644 --- a/5pkgs/default.nix +++ b/5pkgs/default.nix @@ -1,6 +1,5 @@ -with import <stockholm/lib>; -self: super: let - +self: super: +with super.lib; with builtins; let # This callPackage will try to detect obsolete overrides. callPackage = path: args: let override = super.callPackage path args; @@ -15,6 +14,7 @@ self: super: let override else override; + eq = x: y: x == y; subdirsOf = path: mapAttrs (name: _: path + "/${name}") (filterAttrs (_: eq "directory") (readDir path)); @@ -40,6 +40,6 @@ in { }; } -// mapAttrs (_: flip callPackage {}) +// (mapAttrs (_: flip callPackage {}) (filterAttrs (_: dir: pathExists (dir + "/default.nix")) - (subdirsOf ./.)) + (subdirsOf ./.))) |