d88721e440
This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM. A new version with a workaround for problems of the reverted original. Discussion: https://github.com/NixOS/nixpkgs/commit/3f2566689
8 lines
149 B
Nix
8 lines
149 B
Nix
{ lib ? import ../.., modules ? [] }:
|
|
|
|
{
|
|
inherit (lib.evalModules {
|
|
inherit modules;
|
|
specialArgs.modulesPath = ./.;
|
|
}) config options;
|
|
}
|