Skip to content

Commit

Permalink
fix: correct path construction
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-gelinas committed Aug 4, 2024
1 parent 35e84d3 commit 45cd1ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/top-level/all-modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
modulesInShard =
{ base, shard }:
let
modules = childDirs "${base}/${shard}";
modules = childDirs (base + "/${shard}");
in
map (module: { inherit base module shard; }) modules;

Expand All @@ -34,7 +34,7 @@ let
shard,
}:
let
moduleBase = "${base}/${shard}/${module}";
moduleBase = base + "/${shard}/${module}";
files = childFiles moduleBase;
in
assert isShardedCorrectly shard module;
Expand Down Expand Up @@ -69,7 +69,7 @@ let
}:
{
name = module;
value = "${base}/${shard}/${module}/${file}";
value = base + "/${shard}/${module}/${file}";
}
))
listToAttrs
Expand Down

0 comments on commit 45cd1ff

Please sign in to comment.