about summary refs log tree commit diff
path: root/users/Profpatsch/blog/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/Profpatsch/blog/default.nix')
-rw-r--r--users/Profpatsch/blog/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/Profpatsch/blog/default.nix b/users/Profpatsch/blog/default.nix
index 6ac3c3eb5104..d3c5c596b444 100644
--- a/users/Profpatsch/blog/default.nix
+++ b/users/Profpatsch/blog/default.nix
@@ -127,8 +127,8 @@ let
   }:
     assert
       (lib.assertMsg
-        (builtins.pathExists (depot.path + "/" + relativePath))
-        "depotCgitLink: path /${relativePath} does not exist in depot");
+        (builtins.pathExists (depot.path.origSrc + "/${relativePath}"))
+        "depotCgitLink: path /${relativePath} does not exist in depot, and depot.path was ${toString depot.path}");
       "https://code.tvl.fyi/tree/${relativePath}";
 
   # look up a route by path ($1)