diff options
author | Profpatsch <mail@profpatsch.de> | 2022-01-14T09·21+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-01-16T13·51+0000 |
commit | 546251678a5206b211c64e5093d2df986f1afc84 (patch) | |
tree | a1c61523ff2c1caf8a335b1eb6acbb1527a4f7a7 /users/Profpatsch | |
parent | a6304a1e339527381f98d35aec595b1af977dbf6 (diff) |
fix(users/Profpatsch/blog): fix path check assoc r/3600
It would left-associate in some nix version, this way it’s clear that you want to join a path segment. Change-Id: I82a00de720187d1faf908c842e396301ea435a97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4886 Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch')
-rw-r--r-- | users/Profpatsch/blog/default.nix | 4 |
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) |