feat: add dream2nix.modules.drv-parts.core

This already includes the `lock` module and makes it easier to call dream2nix via evalModules
This commit is contained in:
DavHau 2023-07-24 14:34:27 +02:00
parent dc587877b5
commit cdfbf98a11
2 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,13 @@
{
self,
lib,
...
}: {
flake.modules.drv-parts.core = lib.mkForce {
imports = [
self.inputs.drv-parts.modules.drv-parts.core
self.modules.drv-parts.lock
self.modules.drv-parts.eval-cache
];
};
}

View File

@ -31,11 +31,8 @@
makeDrv = module: let
evaled = lib.evalModules {
modules = [
inputs.drv-parts.modules.drv-parts.core
inputs.drv-parts.modules.drv-parts.docs
self.modules.drv-parts.core
module
../drv-parts/eval-cache
../drv-parts/lock
setup
];
specialArgs.packageSets = {