nix-community.nixvim/modules/top-level
Matt Sturgeon 4b7a41276a
modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg
This minimal implementation allows `nixpkgs.pkgs` to be defined, but
does not implement evaluating an instance from a pkgsPath when _not_
defined.

The `defaultPkgs` specialArg is dropped in favour of `nixpkgs.pkgs`
being defined. If it's not defined, an assertion is thrown.

In the future, a nixpkgs source path can be supplied, defaulting to the
flake's `inputs.nixpkgs`. Along with other `nixpkgs.*` options, this
will allow a `pkgs` instance to be evaluated within the module eval.
2024-09-27 09:30:12 +01:00
..
files modules: move nixpkgs module to top-level modules 2024-09-27 09:30:12 +01:00
default.nix modules: move nixpkgs module to top-level modules 2024-09-27 09:30:12 +01:00
nixpkgs.nix modules/nixpkgs: initial pkgs option, drop defaultPkgs specialArg 2024-09-27 09:30:12 +01:00
output.nix modules/output: check warnings+assertions on build.package 2024-09-26 18:04:36 +01:00
readonly-renames.nix modules/{output,files,test}: move outputs to build scope 2024-09-26 06:31:57 +01:00
test.nix modules/output: check warnings+assertions on build.package 2024-09-26 18:04:36 +01:00