{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/47349631","id":47349631,"diff_hunk":"@@ -35,6 +37,22 @@ let\n   dfHackWorksWithCurrentVersion = true;\n   dfHackEnabled = dfHackWorksWithCurrentVersion && enableDFHack;\n \n+  themesThatWorkWithCurrentVersion = [\n+    \"phoebus\"\n+  ];\n+  themeEnabled = builtins.elem theme themesThatWorkWithCurrentVersion;\n+  themeToUse = if themeEnabled then theme else null;\n+  themePkg = if (themeToUse != null)\n+    then\n+      import (./. + (\"/themes/\" + themeToUse + \".nix\")) {","path":"pkgs/games/dwarf-fortress/default.nix","position":31,"original_position":31,"commit_id":"420499a29947e04025fddb0b8223ceea14eaeb26","original_commit_id":"420499a29947e04025fddb0b8223ceea14eaeb26","user":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"body":"Regarding the theme directory and using `mv`, I think I simply don't understand what you're trying to suggest. Do you want the user to supply an absolute path to a theme that they downloaded and extracted? That simply won't work. This theme, at least doesn't work if copied directly as it's extracted.","created_at":"2015-12-11T12:21:40Z","updated_at":"2015-12-11T12:21:40Z","html_url":"https://github.com/NixOS/nixpkgs/pull/11301#discussion_r47349631","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/47349631"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/11301#discussion_r47349631"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301","id":51957188,"html_url":"https://github.com/NixOS/nixpkgs/pull/11301","diff_url":"https://github.com/NixOS/nixpkgs/pull/11301.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/11301.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11301","number":11301,"state":"open","locked":false,"title":"dwarf-fortress: add phoebus","user":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T03:28:12Z","updated_at":"2015-12-11T12:21:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1ea83eb1e9272ff82c14a0df8f0a5e495d2429d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11301/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/420499a29947e04025fddb0b8223ceea14eaeb26","head":{"label":"a1russell:phoebus","ref":"phoebus","sha":"420499a29947e04025fddb0b8223ceea14eaeb26","user":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"repo":{"id":41646585,"name":"nixpkgs","full_name":"a1russell/nixpkgs","owner":{"login":"a1russell","id":241628,"avatar_url":"https://avatars.githubusercontent.com/u/241628?v=3","gravatar_id":"","url":"https://api.github.com/users/a1russell","html_url":"https://github.com/a1russell","followers_url":"https://api.github.com/users/a1russell/followers","following_url":"https://api.github.com/users/a1russell/following{/other_user}","gists_url":"https://api.github.com/users/a1russell/gists{/gist_id}","starred_url":"https://api.github.com/users/a1russell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1russell/subscriptions","organizations_url":"https://api.github.com/users/a1russell/orgs","repos_url":"https://api.github.com/users/a1russell/repos","events_url":"https://api.github.com/users/a1russell/events{/privacy}","received_events_url":"https://api.github.com/users/a1russell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a1russell/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/a1russell/nixpkgs","forks_url":"https://api.github.com/repos/a1russell/nixpkgs/forks","keys_url":"https://api.github.com/repos/a1russell/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a1russell/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a1russell/nixpkgs/teams","hooks_url":"https://api.github.com/repos/a1russell/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/a1russell/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/a1russell/nixpkgs/events","assignees_url":"https://api.github.com/repos/a1russell/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/a1russell/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/a1russell/nixpkgs/tags","blobs_url":"https://api.github.com/repos/a1russell/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a1russell/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a1russell/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/a1russell/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a1russell/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/a1russell/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/a1russell/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/a1russell/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/a1russell/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/a1russell/nixpkgs/subscription","commits_url":"https://api.github.com/repos/a1russell/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/a1russell/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/a1russell/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/a1russell/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/a1russell/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/a1russell/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a1russell/nixpkgs/merges","archive_url":"https://api.github.com/repos/a1russell/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a1russell/nixpkgs/downloads","issues_url":"https://api.github.com/repos/a1russell/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/a1russell/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/a1russell/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/a1russell/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a1russell/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/a1russell/nixpkgs/releases{/id}","created_at":"2015-08-30T23:38:10Z","updated_at":"2015-08-30T23:38:28Z","pushed_at":"2015-12-06T21:14:54Z","git_url":"git://github.com/a1russell/nixpkgs.git","ssh_url":"git@github.com:a1russell/nixpkgs.git","clone_url":"https://github.com/a1russell/nixpkgs.git","svn_url":"https://github.com/a1russell/nixpkgs","homepage":null,"size":271258,"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":"7ac0052ad59c4a826b3db8ad49518a79b0a9c03e","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}","created_at":"2012-06-04T02:49:46Z","updated_at":"2015-12-11T09:05:37Z","pushed_at":"2015-12-11T11:57:36Z","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":313130,"stargazers_count":868,"watchers_count":868,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1154,"mirror_url":null,"open_issues_count":1141,"forks":1154,"open_issues":1141,"watchers":868,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/11301"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/11301"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/11301/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/11301/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/420499a29947e04025fddb0b8223ceea14eaeb26"}}}}