{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41620","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41620/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41620/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41620/events","html_url":"https://github.com/NixOS/nixpkgs/issues/41620","id":330180506,"node_id":"MDU6SXNzdWUzMzAxODA1MDY=","number":41620,"title":"How to depend on SDL2 (libGL error)","user":{"login":"pmiddend","id":178496,"node_id":"MDQ6VXNlcjE3ODQ5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/178496?v=4","gravatar_id":"","url":"https://api.github.com/users/pmiddend","html_url":"https://github.com/pmiddend","followers_url":"https://api.github.com/users/pmiddend/followers","following_url":"https://api.github.com/users/pmiddend/following{/other_user}","gists_url":"https://api.github.com/users/pmiddend/gists{/gist_id}","starred_url":"https://api.github.com/users/pmiddend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmiddend/subscriptions","organizations_url":"https://api.github.com/users/pmiddend/orgs","repos_url":"https://api.github.com/users/pmiddend/repos","events_url":"https://api.github.com/users/pmiddend/events{/privacy}","received_events_url":"https://api.github.com/users/pmiddend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-07T09:03:18Z","updated_at":"2018-06-07T10:20:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Issue description\r\n\r\nI hope opening an issue for this is appropriate. I'm using pysdl2 (meaning I have `pysdl2` in my `propagatedBuildInputs`), which depends on SDL2, of course. Initialization of SDL2 fails because it cannot find `libGL.so.1`. \r\nLooking at SDL2's source code, I see that it tries to `dlopen` either \"libGL.so.1\" (hard-coded) or whatever is inside `SDL_OPENGL_LIBRARY`. To properly package my application, am I to create a wrapper script for my application that sets this environment variable? Or what's the recommended approach when depending on libGL? I'm aware of PR 37369 (glvnd), but I'm not sure how to react to it."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/395370547","html_url":"https://github.com/NixOS/nixpkgs/issues/41620#issuecomment-395370547","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/41620","id":395370547,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTM3MDU0Nw==","user":{"login":"pmiddend","id":178496,"node_id":"MDQ6VXNlcjE3ODQ5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/178496?v=4","gravatar_id":"","url":"https://api.github.com/users/pmiddend","html_url":"https://github.com/pmiddend","followers_url":"https://api.github.com/users/pmiddend/followers","following_url":"https://api.github.com/users/pmiddend/following{/other_user}","gists_url":"https://api.github.com/users/pmiddend/gists{/gist_id}","starred_url":"https://api.github.com/users/pmiddend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmiddend/subscriptions","organizations_url":"https://api.github.com/users/pmiddend/orgs","repos_url":"https://api.github.com/users/pmiddend/repos","events_url":"https://api.github.com/users/pmiddend/events{/privacy}","received_events_url":"https://api.github.com/users/pmiddend/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T10:20:02Z","updated_at":"2018-06-07T10:20:02Z","author_association":"CONTRIBUTOR","body":"Nope, I'm on NixOS."}}
{"actor":{"display_login":"pmiddend"}}