Skip to content

Instantly share code, notes, and snippets.

@dminuoso
Last active October 7, 2020 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dminuoso/95e9716f4f8f15fc9fd5afbee33453bf to your computer and use it in GitHub Desktop.
Save dminuoso/95e9716f4f8f15fc9fd5afbee33453bf to your computer and use it in GitHub Desktop.
{ pkgs, ... }:
let
pr = pkgs.fetchFromGitHub {
owner = "emilazy";
repo = "nixpkgs";
rev = "7785f9ad8a053b340a4d8b6abb0ad00e4c0737bc";
sha256 = "1arb3rmfr6zw9x2b82aisjgpkwq6vbcaqbhdzv0j52riflh6436l";
};
prPkgs = import pr {};
in
{
imports = [
"${prPkgs}/nixos/modules/services/security/acme-dns.nix"
];
config = {
services.acme-dns.enable = true;
};
}
[root@Verleihnix:/home/dminuoso]# nixos-rebuild switch --show-trace
error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:96:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:83:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:82:16:
while evaluating 'mergeModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:233:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:17:
while evaluating 'mergeModules'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:237:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:234:5:
while evaluating 'flip' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:280:6:
while evaluating 'byName' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:260:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:268:21:
while evaluating 'reverseList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:38:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:167:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:68:19:
while evaluating 'filterModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:157:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:168:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:161:31, called from undefined position:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating 'loadModule' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:106:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:144:22:
while evaluating 'isFunction' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:107:12:
while evaluating the module argument `pkgs' in "/etc/nixos/acme.nix":
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:217:28
building Nix...
error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:96:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:83:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:82:16:
while evaluating 'mergeModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:233:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:17:
while evaluating 'mergeModules'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:237:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:234:5:
while evaluating 'flip' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:280:6:
while evaluating 'byName' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:260:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:268:21:
while evaluating 'reverseList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:38:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:167:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:68:19:
while evaluating 'filterModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:157:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:168:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:161:31, called from undefined position:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating 'loadModule' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:106:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:144:22:
while evaluating 'isFunction' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:107:12:
while evaluating the module argument `pkgs' in "/etc/nixos/acme.nix":
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:217:28
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:64:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:96:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:83:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:82:16:
while evaluating 'mergeModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:233:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:17:
while evaluating 'mergeModules'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:237:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:234:5:
while evaluating 'flip' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:138:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:280:6:
while evaluating 'byName' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:260:25, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:268:21:
while evaluating 'reverseList' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:393:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:38:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:167:37, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:68:19:
while evaluating 'filterModules' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:157:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:168:7:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:161:31, called from undefined position:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating the attribute 'disabled' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:139:13:
while evaluating 'loadModule' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:106:53, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:144:22:
while evaluating 'isFunction' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/trivial.nix:333:16, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:107:12:
while evaluating the module argument `pkgs' in "/etc/nixos/acme.nix":
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:217:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment