{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9056","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9056/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9056/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9056/events","html_url":"https://github.com/NixOS/nixpkgs/pull/9056","id":98269746,"number":9056,"title":"stage-1: fix typo that breaks resume","user":{"login":"spencerjanssen","id":2600039,"avatar_url":"https://avatars.githubusercontent.com/u/2600039?v=3","gravatar_id":"","url":"https://api.github.com/users/spencerjanssen","html_url":"https://github.com/spencerjanssen","followers_url":"https://api.github.com/users/spencerjanssen/followers","following_url":"https://api.github.com/users/spencerjanssen/following{/other_user}","gists_url":"https://api.github.com/users/spencerjanssen/gists{/gist_id}","starred_url":"https://api.github.com/users/spencerjanssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencerjanssen/subscriptions","organizations_url":"https://api.github.com/users/spencerjanssen/orgs","repos_url":"https://api.github.com/users/spencerjanssen/repos","events_url":"https://api.github.com/users/spencerjanssen/events{/privacy}","received_events_url":"https://api.github.com/users/spencerjanssen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-30T21:33:27Z","updated_at":"2015-07-31T15:25:23Z","closed_at":"2015-07-30T23:12:32Z","pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9056","html_url":"https://github.com/NixOS/nixpkgs/pull/9056","diff_url":"https://github.com/NixOS/nixpkgs/pull/9056.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/9056.patch"},"body":"$d should be $sd, this causes resume from hibernate to fail if\r\nresumeDevice is not explicitly set in config.  Introduced in commit:\r\n'stage-1: Shut up warnings about swap devices that don't exist yet'\r\n\r\nResume stopped working after a recent update, and this commit fixes it for me.  I tested this against current nixos-unstable, but I have not tested the change after rebasing on master."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/126724353","html_url":"https://github.com/NixOS/nixpkgs/pull/9056#issuecomment-126724353","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9056","id":126724353,"user":{"login":"edolstra","id":1148549,"avatar_url":"https://avatars.githubusercontent.com/u/1148549?v=3","gravatar_id":"","url":"https://api.github.com/users/edolstra","html_url":"https://github.com/edolstra","followers_url":"https://api.github.com/users/edolstra/followers","following_url":"https://api.github.com/users/edolstra/following{/other_user}","gists_url":"https://api.github.com/users/edolstra/gists{/gist_id}","starred_url":"https://api.github.com/users/edolstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edolstra/subscriptions","organizations_url":"https://api.github.com/users/edolstra/orgs","repos_url":"https://api.github.com/users/edolstra/repos","events_url":"https://api.github.com/users/edolstra/events{/privacy}","received_events_url":"https://api.github.com/users/edolstra/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T15:25:23Z","updated_at":"2015-07-31T15:25:23Z","body":"Perl (unlike Python) does actually complain about undefined variables, so it would have caught this error. Regarding better type checking, there are probably not that many options, given that the language interpreter has to fit inside an initrd... (Unless of course we'd want to go for a compiled language.)"}}