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

doc: Fix the function locations always pointing to master
This commit is contained in:
Silvan Mosberger 2023-04-14 17:17:46 +02:00 committed by GitHub
commit 83c76b9237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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