about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-04-13 20:33:39 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-04-13 20:33:39 +0200
commit019fd455371037ddb4005152b3059b6404f5c73c (patch)
treef98a6ebb1fdf1a029c8520c509a5cc3c6e440046 /doc
parentab73fe13705026cda6997ec6a71ddd6e4dc618cf (diff)
doc: Fix the function locations always pointing to master
Instead of revisions as they should. This is (most-likely) caused by a
simple typo, because Hydra is where the revision should come from, but
it doesn't set `.revision` as the attribute, but rather `.rev`!
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-support/lib-function-locations.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/doc-support/lib-function-locations.nix b/doc/doc-support/lib-function-locations.nix
index 3ede09ba50f58..1ee59648330aa 100644
--- a/doc/doc-support/lib-function-locations.nix
+++ b/doc/doc-support/lib-function-locations.nix
@@ -1,6 +1,6 @@
 { pkgs, nixpkgs ? { }, libsets }:
 let
-  revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.revision or "master");
+  revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.rev or "master");
 
   libDefPos = prefix: set:
     builtins.concatMap