{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15840","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15840/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15840/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15840/events","html_url":"https://github.com/NixOS/nixpkgs/pull/15840","id":157552075,"number":15840,"title":"pulseaudio service: set DISPLAY","user":{"login":"anderspapitto","id":1388690,"avatar_url":"https://avatars.githubusercontent.com/u/1388690?v=3","gravatar_id":"","url":"https://api.github.com/users/anderspapitto","html_url":"https://github.com/anderspapitto","followers_url":"https://api.github.com/users/anderspapitto/followers","following_url":"https://api.github.com/users/anderspapitto/following{/other_user}","gists_url":"https://api.github.com/users/anderspapitto/gists{/gist_id}","starred_url":"https://api.github.com/users/anderspapitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderspapitto/subscriptions","organizations_url":"https://api.github.com/users/anderspapitto/orgs","repos_url":"https://api.github.com/users/anderspapitto/repos","events_url":"https://api.github.com/users/anderspapitto/events{/privacy}","received_events_url":"https://api.github.com/users/anderspapitto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-30T20:16:50Z","updated_at":"2016-07-03T22:54:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15840","html_url":"https://github.com/NixOS/nixpkgs/pull/15840","diff_url":"https://github.com/NixOS/nixpkgs/pull/15840.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/15840.patch"},"body":"###### Motivation for this change\r\n\r\nI was seeing\r\n\r\n```\r\nMay 28 22:41:49 gurney systemd[935]: Starting PulseAudio Server...\r\nMay 28 22:41:49 gurney pulseaudio[941]: E: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11\r\nMay 28 22:41:49 gurney pulseaudio[941]: E: [pulseaudio] module.c: Failed to load module \"module-jackdbus-detect\" (argument: \"channels=2\"): initialization failed.\r\nMay 28 22:41:49 gurney pulseaudio[941]: E: [pulseaudio] main.c: Module load failed.\r\nMay 28 22:41:49 gurney pulseaudio[941]: W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11\r\nMay 28 22:41:49 gurney pulseaudio[941]: W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11\r\n```\r\n\r\n\r\n###### Things done\r\n\r\n- [x] 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   - [x] NixOS\r\n   - [ ] 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\nit's needed by the jack support"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/230180473","html_url":"https://github.com/NixOS/nixpkgs/pull/15840#issuecomment-230180473","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15840","id":230180473,"user":{"login":"joachifm","id":41977,"avatar_url":"https://avatars.githubusercontent.com/u/41977?v=3","gravatar_id":"","url":"https://api.github.com/users/joachifm","html_url":"https://github.com/joachifm","followers_url":"https://api.github.com/users/joachifm/followers","following_url":"https://api.github.com/users/joachifm/following{/other_user}","gists_url":"https://api.github.com/users/joachifm/gists{/gist_id}","starred_url":"https://api.github.com/users/joachifm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachifm/subscriptions","organizations_url":"https://api.github.com/users/joachifm/orgs","repos_url":"https://api.github.com/users/joachifm/repos","events_url":"https://api.github.com/users/joachifm/events{/privacy}","received_events_url":"https://api.github.com/users/joachifm/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T22:54:08Z","updated_at":"2016-07-03T22:54:08Z","body":"Hm, I see that this touches several unrelated modules. Perhaps it'd be better to break these into separate commits? Otherwise, LGTM."}}
{"actor":{"display_login":"joachifm"}}