about summary refs log tree commit diff
path: root/doc/doc-support
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2022-11-05 21:57:23 -0300
committerGitHub <noreply@github.com>2022-11-05 21:57:23 -0300
commit4b59590ac5326b82581e96f4eb1ff7417c932387 (patch)
tree47d234770107b9c1b5b66851e43a24a25265764b /doc/doc-support
parente6c6826d4252f670fa7afd80ea5cbb8db23bc027 (diff)
Revert "lib,doc: remove obvious usages of toString on paths"
Diffstat (limited to 'doc/doc-support')
-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 ac4da88052da1..68edd27098543 100644
--- a/doc/doc-support/lib-function-locations.nix
+++ b/doc/doc-support/lib-function-locations.nix
@@ -38,7 +38,7 @@ let
       substr = builtins.substring prefixLen filenameLen filename;
       in substr;
 
-  removeNixpkgs = removeFilenamePrefix pkgs.path;
+  removeNixpkgs = removeFilenamePrefix (builtins.toString pkgs.path);
 
   liblocations =
     builtins.filter