-
-
Save dminuoso/c4f0056f71e75798dd6212743b57eac7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ... }: | |
{ | |
disabledModules = | |
[ | |
"services/mail/rspamd.nix" | |
]; | |
imports = [ | |
./module-rspamd.nix | |
]; | |
config = { | |
services.rspamd.enable = true; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nixops deploy --show-trace | |
building all machine configurations... | |
error: while evaluating the attribute 'buildCommand' of the derivation 'nixops-machines' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/pkgs/build-support/trivial-builders.nix:7:14: | |
while evaluating anonymous function at /nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/share/nix/nixops/eval-machine-info.nix:371:46, called from undefined position: | |
while evaluating the attribute 'config.system.build.toplevel' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/nixos/modules/system/activation/top-level.nix:274:5: | |
while evaluating 'foldr' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/lists.nix:52:20, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/nixos/modules/system/activation/top-level.nix:138:12: | |
while evaluating 'fold'' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/lists.nix:55:15, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/lists.nix:59:8: | |
while evaluating anonymous function at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/nixos/modules/system/activation/top-level.nix:131:50, called from undefined position: | |
while evaluating the attribute 'assertion' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:598:11: | |
while evaluating 'getAttrFromPath' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:73:31, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:597:19: | |
while evaluating 'attrByPath' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:24:35, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:75:8: | |
while evaluating 'attrByPath' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:24:35, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:29:12: | |
while evaluating 'attrByPath' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:24:35, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:29:12: | |
while evaluating 'attrByPath' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:24:35, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/attrsets.nix:29:12: | |
while evaluating the attribute 'socketActivation' at undefined position: | |
while evaluating anonymous function at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:237:39, called from undefined position: | |
while evaluating 'evalOptionValue' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:312:31, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:247:16: | |
while evaluating 'fixupOptionType' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:476:26, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:246:23: | |
while evaluating 'mergeOptionDecls' at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:270:27, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:246:44: | |
while evaluating anonymous function at /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:271:18, called from /nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/lib/modules.nix:271:5: | |
The option `services.rspamd.socketActivation' in `/nix/store/lln2z2xzjdykc1cdk9hcq7qdxwr2nriz-source/nixos/modules/services/mail/rspamd.nix' is already declared in `/home/dminuoso/wobcom/projects/zaphod/nix-mailserver/mx-test/services/rspamd/module-rspamd.nix'. | |
Traceback (most recent call last): | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/bin/..nixops-wrapped-wrapped", line 991, in <module> | |
args.op() | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/bin/..nixops-wrapped-wrapped", line 412, in op_deploy | |
max_concurrent_activate=args.max_concurrent_activate) | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in deploy | |
self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1052, in run_with_notify | |
f() | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in <lambda> | |
self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1003, in _deploy | |
self.configs_path = self.build_configs(dry_run=dry_run, repair=repair, include=include, exclude=exclude) | |
File "/nix/store/hyalbisc7bg8rxyi5pwnidjg2018hhvh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 671, in build_configs | |
raise Exception("unable to build all machine configurations") | |
Exception: unable to build all machine configurations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment