Generate links to function definitions

Hydra passes the full revision in to the input, which we pass through.

If we don't get this ,we try to get it from other sources, or default to
master which should have the definition in a close-ish location.

All published docs should have theURL resolve properly, only local
hackers will have the link break.
This commit is contained in:
Graham Christensen 2018-10-05 10:46:58 -04:00
parent 4312cfdbda
commit 5daee73ce4
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
8 changed files with 135 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ pkgs ? import ../. {} }:
(import ./default.nix).overrideAttrs (x: {
(import ./default.nix {}).overrideAttrs (x: {
buildInputs = x.buildInputs ++ [ pkgs.xmloscopy pkgs.ruby ];
})