nixpkgs/pkgs/build-support/writers/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
356 B
Nix
Raw Normal View History

{ config, lib, callPackages }:
2021-12-10 22:03:06 +01:00
let
aliases = if config.allowAliases then (import ./aliases.nix lib) else prev: {};
2021-12-10 22:03:06 +01:00
# Writers for JSON-like data structures
dataWriters = callPackages ./data.nix { };
# Writers for scripts
scriptWriters = callPackages ./scripts.nix { };
writers = scriptWriters // dataWriters;
2021-12-10 22:03:06 +01:00
in
writers // (aliases writers)