1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/lib
zimbatm 035627dff2
lib: allow to import JSON and TOML files
The vision here is that configuration tools can generate .json or .toml
files, which can be plugged into an existing configuration.

Eg:

    { lib, ... }:
    {
      imports = [
        (lib.modules.importJSON ./hardware-configuration.json)
      ];
    }
2020-09-12 16:37:50 +02:00
..
systems Merge pull request #97587 from arcnmx/arch-fix 2020-09-10 14:48:25 -05:00
tests lib/tests: Add test for freeform option docs 2020-09-04 15:50:13 +02:00
asserts.nix
attrsets.nix lib/attrsets: add getMan function 2020-06-18 10:16:57 +02:00
cli.nix lib/cli: mkKey -> mkOptionName, use generators.mkValueStringDefault 2020-01-23 14:47:38 +01:00
customisation.nix lib.callPackages(With): guard against a repeated mistake 2020-03-12 09:40:15 +01:00
debug.nix
default.nix lib: add importTOML 2020-09-12 16:37:50 +02:00
deprecated.nix lib.fake{Sri => Hash}: fix and rename 2020-05-11 23:11:12 +01:00
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix lib/generators: Extend mkValueStringDefault with float support 2020-07-29 18:06:34 +02:00
kernel.nix Merge pull request #84032 from teto/fix_kernel_merge 2020-05-22 13:32:22 +02:00
licenses.nix jasper: remove, abandoned upstream. 2020-09-09 18:29:42 +00:00
lists.nix fix example for foldl 2020-05-08 08:31:27 -04:00
meta.nix
minver.nix Bump minver.nix to 2.2 2020-06-04 13:43:10 +02:00
modules.nix lib: allow to import JSON and TOML files 2020-09-12 16:37:50 +02:00
options.nix lib/options: fix showOption example 2020-04-14 20:38:31 +02:00
sources.nix commitIdFromGitRepo: fix stackoverflow if many branches are used. 2020-07-17 10:44:08 +01:00
strings-with-deps.nix
strings.nix lib/strings: deprecate readPathsFromFile 2020-09-03 19:15:10 +02:00
trivial.nix lib: add importTOML 2020-09-12 16:37:50 +02:00
types.nix Merge pull request #97114 from Infinisil/type-deprecation 2020-09-07 19:33:19 +02:00
versions.nix lib/versions: expose splitVersion 2019-09-26 17:42:42 +02:00
zip-int-bits.nix