{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/2029","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/2029/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/2029/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/2029/events","html_url":"https://github.com/NixOS/nix/issues/2029","id":310210117,"number":2029,"title":"Using \"localhost\" as a remote builder deadlocks the build","user":{"login":"ledettwy","id":20428472,"avatar_url":"https://avatars1.githubusercontent.com/u/20428472?v=4","gravatar_id":"","url":"https://api.github.com/users/ledettwy","html_url":"https://github.com/ledettwy","followers_url":"https://api.github.com/users/ledettwy/followers","following_url":"https://api.github.com/users/ledettwy/following{/other_user}","gists_url":"https://api.github.com/users/ledettwy/gists{/gist_id}","starred_url":"https://api.github.com/users/ledettwy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledettwy/subscriptions","organizations_url":"https://api.github.com/users/ledettwy/orgs","repos_url":"https://api.github.com/users/ledettwy/repos","events_url":"https://api.github.com/users/ledettwy/events{/privacy}","received_events_url":"https://api.github.com/users/ledettwy/received_events","type":"User","site_admin":false},"labels":[{"id":3709158,"url":"https://api.github.com/repos/NixOS/nix/labels/bug","name":"bug","color":"e10c02","default":true},{"id":886480262,"url":"https://api.github.com/repos/NixOS/nix/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"shlevy","id":487050,"avatar_url":"https://avatars3.githubusercontent.com/u/487050?v=4","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},"assignees":[{"login":"shlevy","id":487050,"avatar_url":"https://avatars3.githubusercontent.com/u/487050?v=4","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},{"login":"edolstra","id":1148549,"avatar_url":"https://avatars0.githubusercontent.com/u/1148549?v=4","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}],"milestone":null,"comments":3,"created_at":"2018-03-31T03:58:40Z","updated_at":"2018-04-23T19:52:31Z","closed_at":null,"author_association":"NONE","body":"A nix-build command of the form `nix-build --builders \"ssh://nix@localhost\"` will deadlock, because the local nix-build command is holding the /nix/store lock for that output, thus preventing the remote build process (running on the same machine) from grabbing the lock and performing the build. So the command gets stuck at \"waiting for locks or build slots...\""},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/383701149","html_url":"https://github.com/NixOS/nix/issues/2029#issuecomment-383701149","issue_url":"https://api.github.com/repos/NixOS/nix/issues/2029","id":383701149,"user":{"login":"shlevy","id":487050,"avatar_url":"https://avatars3.githubusercontent.com/u/487050?v=4","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T19:52:31Z","updated_at":"2018-04-23T19:52:31Z","author_association":"MEMBER","body":"Oh, right, fair. "}}
{"actor":{"display_login":"shlevy"}}