mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 22:37:18 +03:00
fix(modules): pass modules inputs correctly
This commit is contained in:
parent
229b0a1ba4
commit
a7d92db293
@ -39,6 +39,8 @@
|
||||
in
|
||||
self';
|
||||
|
||||
modulesFlake = import (self + "/modules/default.nix");
|
||||
|
||||
# Type: [ {${name} = {module, packagePath} ]
|
||||
allExamples = mapAttrsToList (dirName: _: readExamples dirName) packageCategories;
|
||||
|
||||
@ -87,7 +89,7 @@ in {
|
||||
nixpkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
writers = config.writers;
|
||||
};
|
||||
specialArgs.dream2nix = self;
|
||||
specialArgs.dream2nix = modulesFlake;
|
||||
};
|
||||
in
|
||||
evaled.config.public;
|
||||
|
Loading…
Reference in New Issue
Block a user