mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00

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;
|
|
}
|