Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

porting from 20.03 to 20.09: The option meta.description' defined in nixcloud-webservices/modules/web/services/roundcube' does not exist. #82

Closed
qknight opened this issue Dec 4, 2023 · 1 comment

Comments

@qknight
Copy link
Member

qknight commented Dec 4, 2023

I see this error:

while evaluating anonymous function at /etc/nixos/nixpkgs/lib/attrsets.nix:234:10, called from undefined position:
while evaluating anonymous function at /etc/nixos/nixcloud-webservices/modules/web/default.nix:26:50, called from /etc/nixos/nixpkgs/lib/attrsets.nix:234:16:
while evaluating the attribute '"mail.nixcloud.io"' at undefined position:
while evaluating anonymous function at /etc/nixos/nixpkgs/lib/types.nix:293:22, called from undefined position:
while evaluating the attribute 'value' at /etc/nixos/nixpkgs/lib/modules.nix:495:27:
while evaluating 'merge' at /etc/nixos/nixpkgs/lib/types.nix:499:22, called from /etc/nixos/nixpkgs/lib/modules.nix:484:59:
while evaluating 'evalModules' at /etc/nixos/nixpkgs/lib/modules.nix:21:17, called from /etc/nixos/nixpkgs/lib/types.nix:500:12:
The option `meta.description' defined in `/etc/nixos/nixcloud-webservices/modules/web/services/roundcube' does not exist.

Which is caused by:

commit 6d0a85fe528e020eb7d8eb78d33ee87055c01c74
Refs: [HEAD], 18.09-beta-87105-g6d0a85fe528e
Merge: 375611df00b0 25d75155f39d
Author:     Robert Hensing <[email protected]>
AuthorDate: Sat Aug 15 12:13:58 2020 +0200
Commit:     GitHub <[email protected]>
CommitDate: Sat Aug 15 12:13:58 2020 +0200

    Merge pull request #82743 from Infinisil/partially-typed-v2

    Freeform modules

NixOS/nixpkgs@6d0a85f

NixOS/nixpkgs#82743

@qknight qknight changed the title porting from 20.03 to 20.09: The option meta.description' defined in /etc/nixos/nixcloud-webservices/modules/web/services/roundcube' does not exist. porting from 20.03 to 20.09: The option meta.description' defined in nixcloud-webservices/modules/web/services/roundcube' does not exist. Dec 4, 2023
@qknight
Copy link
Member Author

qknight commented Dec 4, 2023

If the meta records from the services get removed for mattermost, roundcube, ...:

#  meta = {
#    description = "Declarative apache backend implementation for hacking";
#    maintainers = with lib.maintainers; [ qknight ];
#    license = lib.licenses.bsd2;
#    homepage = https://github.com/nixcloud/nixcloud-webservices;
#  };

and in meta.nix:

#  config.assertions = lib.singleton {
#    assertion = options.meta.license.isDefined;
#    message = "No 'meta.license' defined for web service '${wsName}'.";
#  };

it builds, so now I have to figure out how to adapt to the new meta system in the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant