1 { config, lib, callPackages }:
3 # If you are reading this, you can test these writers by running: nix-build . -A tests.writers
5 aliases = if config.allowAliases then (import ./aliases.nix lib) else prev: {};
7 # Writers for JSON-like data structures
8 dataWriters = callPackages ./data.nix { };
11 scriptWriters = callPackages ./scripts.nix { };
13 writers = scriptWriters // dataWriters;
15 writers // (aliases writers)