Merge pull request #226057 from tweag/fix-function-location-revision

doc: Fix the function locations always pointing to master

authored by Silvan Mosberger and committed by GitHub 83c76b92 eccf02f8

+1 -1
+1 -1
doc/doc-support/lib-function-locations.nix
··· 1 1 { pkgs, nixpkgs ? { }, libsets }: 2 2 let 3 - revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.revision or "master"); 3 + revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.rev or "master"); 4 4 5 5 libDefPos = prefix: set: 6 6 builtins.concatMap