diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-05-29 18:09:52 -0400 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-05-29 18:09:52 -0400 |
commit | 87b4a91fc4145e04ca028c08754bd144b8d1d02d (patch) | |
tree | 79e8489332bcbc20a36ef83b46206846880f6c20 /lib/default.nix | |
parent | b20f20d3eb80de83abe5047c2ada9abad54ae0b6 (diff) | |
download | nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar.gz nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar.bz2 nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar.lz nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar.xz nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.tar.zst nixpkgs-87b4a91fc4145e04ca028c08754bd144b8d1d02d.zip |
lib: Move fixed-point combinators out of trivial
Trivia != prelude. This is a better organized and less likely to scare off new contributors.
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/default.nix b/lib/default.nix index e692637abf1..3893e349db3 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -5,8 +5,9 @@ */ let - # trivial, often used functions + # often used, or depending on very little trivial = import ./trivial.nix; + fixedPoints = import ./fixed-points.nix; # datatypes attrsets = import ./attrsets.nix; @@ -42,7 +43,7 @@ let filesystem = import ./filesystem.nix; in - { inherit trivial + { inherit trivial fixedPoints attrsets lists strings stringsWithDeps customisation maintainers meta sources modules options types @@ -55,6 +56,7 @@ in } # !!! don't include everything at top-level; perhaps only the most # commonly used functions. - // trivial // lists // strings // stringsWithDeps // attrsets // sources + // trivial // fixedPoints + // lists // strings // stringsWithDeps // attrsets // sources // options // types // meta // debug // misc // modules // customisation |