mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Simplify return value of modules/default.nix
This commit is contained in:
parent
5546564104
commit
41e39deaec
2 changed files with 7 additions and 6 deletions
|
|
@ -31,9 +31,7 @@ let
|
|||
else showWarnings rawModule.config.warnings rawModule;
|
||||
in
|
||||
|
||||
if initialBuild
|
||||
then module.config
|
||||
else {
|
||||
{
|
||||
inherit (module.config.build) activationPackage;
|
||||
inherit (module.config.environment) path;
|
||||
inherit (module) config;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue