about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2023-04-14 17:17:46 +0200
committerGitHub <noreply@github.com>2023-04-14 17:17:46 +0200
commit83c76b92372d18f49dd3666dd05a052ea83c8870 (patch)
tree5674d692bfd1e6a7aebacd56505246c78f0993e2 /doc
parenteccf02f84c03b45f829fb3b54280b4c799be77ed (diff)
parent019fd455371037ddb4005152b3059b6404f5c73c (diff)
Merge pull request #226057 from tweag/fix-function-location-revision
doc: Fix the function locations always pointing to master
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