mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 06:21:30 +03:00
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:
parent
dc587877b5
commit
cdfbf98a11
13
modules/flake-parts/modules.drv-parts.core.nix
Normal file
13
modules/flake-parts/modules.drv-parts.core.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user