{"action":"opened","number":19402,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402","id":88591691,"html_url":"https://github.com/NixOS/nixpkgs/pull/19402","diff_url":"https://github.com/NixOS/nixpkgs/pull/19402.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/19402.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19402","number":19402,"state":"open","locked":false,"title":"vagrant: add darwin support","user":{"login":"ryanartecona","id":889991,"avatar_url":"https://avatars.githubusercontent.com/u/889991?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanartecona","html_url":"https://github.com/ryanartecona","followers_url":"https://api.github.com/users/ryanartecona/followers","following_url":"https://api.github.com/users/ryanartecona/following{/other_user}","gists_url":"https://api.github.com/users/ryanartecona/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanartecona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanartecona/subscriptions","organizations_url":"https://api.github.com/users/ryanartecona/orgs","repos_url":"https://api.github.com/users/ryanartecona/repos","events_url":"https://api.github.com/users/ryanartecona/events{/privacy}","received_events_url":"https://api.github.com/users/ryanartecona/received_events","type":"User","site_admin":false},"body":"###### Motivation for this change\r\n\r\nAdd darwin support to vagrant.\r\n\r\n###### Things done\r\n\r\n- [ ] Tested using sandboxing\r\n  ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS,\r\n    or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file)\r\n    on non-NixOS)\r\n- Built on platform(s)\r\n   - [ ] NixOS\r\n   - [x] OS X\r\n   - [ ] Linux\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [x] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n\r\n\r\nVagrant on macOS is distributed as a .dmg installer. Luckily, the\r\ninternal contents of that archive resemble that of the .deb we use for\r\nlinux. In fact, the similarity is enough that if we move its `embedded`\r\ndirectory to `opt/vagrant/embedded` and its `bin` to `usr/bin` (and back\r\nagain after installation), the derivation's installPhase (which replaces\r\nembedded libs & binaries with those from the package's inputs) can\r\nremain exactly the same between macOS and linux.","created_at":"2016-10-09T19:33:44Z","updated_at":"2016-10-09T19:33:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19402/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/224a6b85fa0ef0b8496a3a6d1b3bf0a6903099ac","head":{"label":"ryanartecona:vagrant/darwin-support","ref":"vagrant/darwin-support","sha":"224a6b85fa0ef0b8496a3a6d1b3bf0a6903099ac","user":{"login":"ryanartecona","id":889991,"avatar_url":"https://avatars.githubusercontent.com/u/889991?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanartecona","html_url":"https://github.com/ryanartecona","followers_url":"https://api.github.com/users/ryanartecona/followers","following_url":"https://api.github.com/users/ryanartecona/following{/other_user}","gists_url":"https://api.github.com/users/ryanartecona/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanartecona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanartecona/subscriptions","organizations_url":"https://api.github.com/users/ryanartecona/orgs","repos_url":"https://api.github.com/users/ryanartecona/repos","events_url":"https://api.github.com/users/ryanartecona/events{/privacy}","received_events_url":"https://api.github.com/users/ryanartecona/received_events","type":"User","site_admin":false},"repo":{"id":41985082,"name":"nixpkgs","full_name":"ryanartecona/nixpkgs","owner":{"login":"ryanartecona","id":889991,"avatar_url":"https://avatars.githubusercontent.com/u/889991?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanartecona","html_url":"https://github.com/ryanartecona","followers_url":"https://api.github.com/users/ryanartecona/followers","following_url":"https://api.github.com/users/ryanartecona/following{/other_user}","gists_url":"https://api.github.com/users/ryanartecona/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanartecona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanartecona/subscriptions","organizations_url":"https://api.github.com/users/ryanartecona/orgs","repos_url":"https://api.github.com/users/ryanartecona/repos","events_url":"https://api.github.com/users/ryanartecona/events{/privacy}","received_events_url":"https://api.github.com/users/ryanartecona/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanartecona/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/ryanartecona/nixpkgs","forks_url":"https://api.github.com/repos/ryanartecona/nixpkgs/forks","keys_url":"https://api.github.com/repos/ryanartecona/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanartecona/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanartecona/nixpkgs/teams","hooks_url":"https://api.github.com/repos/ryanartecona/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/ryanartecona/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/ryanartecona/nixpkgs/events","assignees_url":"https://api.github.com/repos/ryanartecona/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/ryanartecona/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/ryanartecona/nixpkgs/tags","blobs_url":"https://api.github.com/repos/ryanartecona/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanartecona/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanartecona/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanartecona/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanartecona/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanartecona/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/ryanartecona/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/ryanartecona/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/ryanartecona/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/ryanartecona/nixpkgs/subscription","commits_url":"https://api.github.com/repos/ryanartecona/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanartecona/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanartecona/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanartecona/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanartecona/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/ryanartecona/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanartecona/nixpkgs/merges","archive_url":"https://api.github.com/repos/ryanartecona/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanartecona/nixpkgs/downloads","issues_url":"https://api.github.com/repos/ryanartecona/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/ryanartecona/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanartecona/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanartecona/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanartecona/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/ryanartecona/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/ryanartecona/nixpkgs/deployments","created_at":"2015-09-06T03:14:28Z","updated_at":"2015-09-06T03:14:44Z","pushed_at":"2016-10-09T19:32:18Z","git_url":"git://github.com/ryanartecona/nixpkgs.git","ssh_url":"git@github.com:ryanartecona/nixpkgs.git","clone_url":"https://github.com/ryanartecona/nixpkgs.git","svn_url":"https://github.com/ryanartecona/nixpkgs","homepage":null,"size":352634,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NixOS:master","ref":"master","sha":"bb983fbfba8a4e04dd2dbcc551b82f4e98c685d8","user":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"repo":{"id":4542716,"name":"nixpkgs","full_name":"NixOS/nixpkgs","owner":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NixOS/nixpkgs","description":"Nix Packages collection","fork":false,"url":"https://api.github.com/repos/NixOS/nixpkgs","forks_url":"https://api.github.com/repos/NixOS/nixpkgs/forks","keys_url":"https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NixOS/nixpkgs/teams","hooks_url":"https://api.github.com/repos/NixOS/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/NixOS/nixpkgs/events","assignees_url":"https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/NixOS/nixpkgs/tags","blobs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/NixOS/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/NixOS/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/NixOS/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/NixOS/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/NixOS/nixpkgs/subscription","commits_url":"https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NixOS/nixpkgs/merges","archive_url":"https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NixOS/nixpkgs/downloads","issues_url":"https://api.github.com/repos/NixOS/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/NixOS/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/NixOS/nixpkgs/deployments","created_at":"2012-06-04T02:49:46Z","updated_at":"2016-10-09T15:01:22Z","pushed_at":"2016-10-09T19:32:32Z","git_url":"git://github.com/NixOS/nixpkgs.git","ssh_url":"git@github.com:NixOS/nixpkgs.git","clone_url":"https://github.com/NixOS/nixpkgs.git","svn_url":"https://github.com/NixOS/nixpkgs","homepage":null,"size":609071,"stargazers_count":1336,"watchers_count":1336,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1657,"mirror_url":null,"open_issues_count":1520,"forks":1657,"open_issues":1520,"watchers":1336,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/19402"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/19402"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/19402/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/19402/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/224a6b85fa0ef0b8496a3a6d1b3bf0a6903099ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":14,"changed_files":1}}
{"actor":{"display_login":"ryanartecona"}}