{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixops/issues/281","labels_url":"https://api.github.com/repos/NixOS/nixops/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixops/issues/281/comments","events_url":"https://api.github.com/repos/NixOS/nixops/issues/281/events","html_url":"https://github.com/NixOS/nixops/issues/281","id":67313658,"number":281,"title":"Infinite recursion encountered after updating nixpkgs","user":{"login":"basvandijk","id":576355,"avatar_url":"https://avatars.githubusercontent.com/u/576355?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandijk","html_url":"https://github.com/basvandijk","followers_url":"https://api.github.com/users/basvandijk/followers","following_url":"https://api.github.com/users/basvandijk/following{/other_user}","gists_url":"https://api.github.com/users/basvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandijk/subscriptions","organizations_url":"https://api.github.com/users/basvandijk/orgs","repos_url":"https://api.github.com/users/basvandijk/repos","events_url":"https://api.github.com/users/basvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvandijk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-09T08:59:24Z","updated_at":"2015-04-09T12:42:36Z","closed_at":null,"body":"I just updated my `nixpkgs` to https://github.com/NixOS/nixpkgs/commit/1035b7b6c9970a124087f6fe0a5962864c0f67e1 and now most `nixops` command detect an infinite recursion which seems to start at the nixops `ec2.nix` file at [line 405](https://github.com/NixOS/nixops/blob/master/nix/ec2.nix#L405). For example:\r\n\r\n```\r\n./nixops-HEAD show-physical -d stalling-net --show-trace\r\nerror: while evaluating the attribute ‘config.deployment’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/attrsets.nix\":135:44:\r\nwhile evaluating anonymous function at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/options.nix\":122:41, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/attrsets.nix\":135:52:\r\nwhile evaluating ‘scrubOptionValue’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/options.nix\":118:22, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/options.nix\":122:44:\r\nwhile evaluating ‘isDerivation’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/attrsets.nix\":222:18, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/options.nix\":119:8:\r\nwhile evaluating the attribute ‘\"${attr}\"’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/nixos/lib/eval-config.nix\":50:5:\r\nwhile evaluating the attribute ‘config’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":82:25:\r\nwhile evaluating ‘yieldConfig’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":69:29, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":68:16:\r\nwhile evaluating the attribute ‘_module.check.value’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":266:9:\r\nwhile evaluating the option `_module.check':\r\nwhile evaluating ‘id’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/trivial.nix\":4:8, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":264:15:\r\nwhile evaluating the attribute ‘isDefined’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":298:9:\r\nwhile evaluating ‘processOrder’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":284:26, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":290:11:\r\nwhile evaluating ‘fold’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":20:19, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":286:16:\r\nwhile evaluating ‘fold'’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":23:15, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":27:8:\r\nwhile evaluating ‘processOverride’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":281:29, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":290:25:\r\nwhile evaluating ‘filterOverrides’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":369:21, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":281:35:\r\nwhile evaluating ‘concatMap’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":54:18, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":376:8:\r\nwhile evaluating ‘processIfAndMerge’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":276:31, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":290:42:\r\nwhile evaluating ‘concatMap’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":54:18, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":276:37:\r\nwhile evaluating ‘concatMap’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/lists.nix\":54:18, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":162:8:\r\nwhile evaluating anonymous function at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":162:19, called from undefined position:\r\nwhile evaluating ‘pushDownProperties’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":319:24, called from \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":162:75:\r\nwhile evaluating the attribute ‘config’ at \"/home/bas.van.dijk/engineering/lumi/nixpkgs/lib/modules.nix\":111:11:\r\nwhile evaluating the attribute ‘config’ at \"/nix/store/n7rbrmd88qk0y5z7djg431cp9abz09zk-nixops-HEAD/share/nix/nixops/ec2.nix\":405:3:\r\ninfinite recursion encountered\r\nerror: evaluation of the deployment specification failed\r\n```\r\n\r\nNote I'm also using the latest `nixops` (https://github.com/NixOS/nixops/commit/372333a9e243c1dc58280ba08c5c1ade3ae86a59).\r\n\r\n@rbvermaa Could it have something todo with: https://github.com/NixOS/nixpkgs/commit/824fccd3e90cf75d5e2968fef2392f70e04d9f9c ?"},"comment":{"url":"https://api.github.com/repos/NixOS/nixops/issues/comments/91219037","html_url":"https://github.com/NixOS/nixops/issues/281#issuecomment-91219037","issue_url":"https://api.github.com/repos/NixOS/nixops/issues/281","id":91219037,"user":{"login":"basvandijk","id":576355,"avatar_url":"https://avatars.githubusercontent.com/u/576355?v=3","gravatar_id":"","url":"https://api.github.com/users/basvandijk","html_url":"https://github.com/basvandijk","followers_url":"https://api.github.com/users/basvandijk/followers","following_url":"https://api.github.com/users/basvandijk/following{/other_user}","gists_url":"https://api.github.com/users/basvandijk/gists{/gist_id}","starred_url":"https://api.github.com/users/basvandijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basvandijk/subscriptions","organizations_url":"https://api.github.com/users/basvandijk/orgs","repos_url":"https://api.github.com/users/basvandijk/repos","events_url":"https://api.github.com/users/basvandijk/events{/privacy}","received_events_url":"https://api.github.com/users/basvandijk/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T12:42:36Z","updated_at":"2015-04-09T12:42:36Z","body":"Setting `debug = True` also doesn't show anything more."}}