mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
2227789392
Previously, platforms was a random thing in top-level
55 lines
1.4 KiB
Nix
55 lines
1.4 KiB
Nix
let
|
|
|
|
# trivial, often used functions
|
|
trivial = import ./trivial.nix;
|
|
|
|
# datatypes
|
|
attrsets = import ./attrsets.nix;
|
|
lists = import ./lists.nix;
|
|
strings = import ./strings.nix;
|
|
stringsWithDeps = import ./strings-with-deps.nix;
|
|
|
|
# packaging
|
|
customisation = import ./customisation.nix;
|
|
maintainers = import ./maintainers.nix;
|
|
meta = import ./meta.nix;
|
|
sources = import ./sources.nix;
|
|
|
|
# module system
|
|
modules = import ./modules.nix;
|
|
options = import ./options.nix;
|
|
types = import ./types.nix;
|
|
|
|
# constants
|
|
licenses = import ./licenses.nix;
|
|
systems = import ./systems;
|
|
|
|
# misc
|
|
debug = import ./debug.nix;
|
|
generators = import ./generators.nix;
|
|
misc = import ./deprecated.nix;
|
|
|
|
# domain-specific
|
|
sandbox = import ./sandbox.nix;
|
|
fetchers = import ./fetchers.nix;
|
|
|
|
# Eval-time filesystem handling
|
|
filesystem = import ./filesystem.nix;
|
|
|
|
in
|
|
{ inherit trivial
|
|
attrsets lists strings stringsWithDeps
|
|
customisation maintainers meta sources
|
|
modules options types
|
|
licenses systems
|
|
debug generators misc
|
|
sandbox fetchers filesystem;
|
|
|
|
# back-compat aliases
|
|
platforms = systems.doubles;
|
|
}
|
|
# !!! don't include everything at top-level; perhaps only the most
|
|
# commonly used functions.
|
|
// trivial // lists // strings // stringsWithDeps // attrsets // sources
|
|
// options // types // meta // debug // misc // modules
|
|
// customisation
|