nur: better docs for my entrypoint
This commit is contained in:
parent
2450bb6f06
commit
9f21fbceda
|
@ -7,14 +7,20 @@
|
|||
#
|
||||
# rather, this is the entrypoint through which NUR finds my packages, modules, overlays.
|
||||
# it's reachable only from those using this repo via NUR.
|
||||
#
|
||||
# to manually query available packages, modules, etc, true:
|
||||
# - nix eval --impure --expr 'builtins.attrNames (import ./. {})'
|
||||
|
||||
{ pkgs }:
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
let
|
||||
sanePkgs = import ../../pkgs/additional pkgs;
|
||||
in
|
||||
({
|
||||
# contains both packages not in nixpkgs, and patched versions of those in nixpkgs
|
||||
overlays.pkgs = import ../../overlays/pkgs.nix;
|
||||
# contains only my packages which aren't in nixpkgs
|
||||
pkgs = sanePkgs;
|
||||
|
||||
modules = import ../../modules { inherit (pkgs) lib; };
|
||||
lib = import ../../modules/lib { inherit (pkgs) lib; };
|
||||
} // sanePkgs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user