mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
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
9 lines
149 B
Nix
9 lines
149 B
Nix
{ lib ? import ../.., modules ? [] }:
|
|
|
|
{
|
|
inherit (lib.evalModules {
|
|
inherit modules;
|
|
specialArgs.modulesPath = ./.;
|
|
}) config options;
|
|
}
|