You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a bug somewhere in my NixOps deployment specification, and this produced the following stacktrace:
$ nixops info -d osmium-testing --show-trace
error: while evaluating the attribute ‘config.deployment’ at /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/attrsets.nix:199:44:
while evaluating anonymous function at /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/options.nix:117:41, called from /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/attrsets.nix:199:52:
while evaluating ‘scrubOptionValue’ at /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/options.nix:113:22, called from /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/options.nix:117:44:
while evaluating ‘isDerivation’ at /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/attrsets.nix:295:18, called from /nix/store/j1hb3za87443jwkf22nz5yyjy3mg935r-nixos-17.03.1482.1b57bf274a/nixos/lib/options.nix:114:8:
while evaluating the attribute ‘config’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/lib/eval-config.nix:53:5:
while evaluating the attribute ‘config’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:87:25:
while evaluating ‘yieldConfig’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:74:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:73:16:
while evaluating ‘mergeModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:178:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:64:17:
while evaluating ‘mergeModules'’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:182:36, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:179:5:
while evaluating ‘concatMap’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix:79:18, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:218:9:
while evaluating ‘reverseList’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix:256:17, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:64:38:
while evaluating ‘closeModules’ at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:91:27, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:59:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix:71:28, called from undefined position:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:93:49, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix:71:31:
while evaluating the module argument `pkgs' in ":anon-2:anon-1:anon-1":
infinite recursion encountered, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:151:28
warning: evaluation of the deployment specification failed; status info may be incorrect
Unfortunately, it appears the issue lies with the :anon-2:anon-1:anon-1 section (as there are no other local paths in the stacktrace), and no line number is listed for anonymous functions.
This is a UX problem that should probably be fixed; right now, I have no idea where to look for the error, and I don't immediately see a reason why anonymous functions couldn't include line numbers as well.
The text was updated successfully, but these errors were encountered:
There's a bug somewhere in my NixOps deployment specification, and this produced the following stacktrace:
Unfortunately, it appears the issue lies with the
:anon-2:anon-1:anon-1
section (as there are no other local paths in the stacktrace), and no line number is listed for anonymous functions.This is a UX problem that should probably be fixed; right now, I have no idea where to look for the error, and I don't immediately see a reason why anonymous functions couldn't include line numbers as well.
The text was updated successfully, but these errors were encountered: