From 019fd455371037ddb4005152b3059b6404f5c73c Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 13 Apr 2023 20:33:39 +0200 Subject: [PATCH] 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`! --- doc/doc-support/lib-function-locations.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/doc-support/lib-function-locations.nix b/doc/doc-support/lib-function-locations.nix index 3ede09ba50f..1ee59648330 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