5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
14 lines
356 B
Nix
14 lines
356 B
Nix
{ config, lib, callPackages }:
|
|
|
|
let
|
|
aliases = if config.allowAliases then (import ./aliases.nix lib) else prev: {};
|
|
|
|
# Writers for JSON-like data structures
|
|
dataWriters = callPackages ./data.nix { };
|
|
|
|
# Writers for scripts
|
|
scriptWriters = callPackages ./scripts.nix { };
|
|
|
|
writers = scriptWriters // dataWriters;
|
|
in
|
|
writers // (aliases writers)
|