{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9820","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9820/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9820/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9820/events","html_url":"https://github.com/NixOS/nixpkgs/issues/9820","id":106149302,"number":9820,"title":"Links to code in option documentation lead to nowhere (with local build)","user":{"login":"Profpatsch","id":3153638,"avatar_url":"https://avatars.githubusercontent.com/u/3153638?v=3","gravatar_id":"","url":"https://api.github.com/users/Profpatsch","html_url":"https://github.com/Profpatsch","followers_url":"https://api.github.com/users/Profpatsch/followers","following_url":"https://api.github.com/users/Profpatsch/following{/other_user}","gists_url":"https://api.github.com/users/Profpatsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Profpatsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profpatsch/subscriptions","organizations_url":"https://api.github.com/users/Profpatsch/orgs","repos_url":"https://api.github.com/users/Profpatsch/repos","events_url":"https://api.github.com/users/Profpatsch/events{/privacy}","received_events_url":"https://api.github.com/users/Profpatsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-12T11:26:34Z","updated_at":"2015-09-12T11:26:34Z","closed_at":null,"body":"    > nix-build nixos/release.nix -A manual.x86_64-linux\r\n\r\nThis creates the (offline) manual in a store path, but the links *in* the docs lead to\r\n1. an *online* location\r\n2. an *nonexisting* location (e.g. `https://github.com/NixOS/nixpkgs/blob/gfedcba/nixos/modules/services/misc/zookeeper.nix`)\r\n\r\nThe solution is kind of meta, and I’m not sure how to make that work:\r\nYou need to put the nixpkgs *that are evaluated* to create the documentation into a store path and link that from the created documentation."}}