Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 11 lines 424 B view raw
1# pkgs-lib is for functions and values that can't be in lib because 2# they depend on some packages. This notably is *not* for supporting package 3# building, instead pkgs/build-support is the place for that. 4{ lib, pkgs }: { 5 # setting format types and generators. These do not fit in lib/types.nix, 6 # because they depend on pkgs for rendering some formats 7 formats = import ./formats.nix { 8 inherit lib pkgs; 9 }; 10} 11