restore path for place that needed path over string

This commit is contained in:
Kiara Grouwstra 2025-06-07 17:06:30 +02:00
parent 196d4e1540
commit 0930a8b75b
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
4 changed files with 4 additions and 18 deletions

View file

@ -18,10 +18,7 @@ let
};
}).run
{
src = builtins.path {
path = ./.;
name = "root";
};
src = ./.;
hooks =
let
## Add a directory here if pre-commit hooks shouldn't apply to it.

View file

@ -13,10 +13,7 @@ let
"cowsay"
];
pathToRoot = /. + (builtins.unsafeDiscardStringContext self);
pathFromRoot = builtins.path {
path = ./.;
name = "basic";
};
pathFromRoot = ./.;
in
{

View file

@ -15,10 +15,7 @@ let
"pixelfed"
];
pathToRoot = /. + (builtins.unsafeDiscardStringContext self);
pathFromRoot = builtins.path {
path = ./.;
name = "cli";
};
pathFromRoot = ./.;
enableAcme = true;
in

View file

@ -12,12 +12,7 @@ let
with lib.fileset;
toSource {
root = ../src;
fileset = intersection (gitTracked (
builtins.path {
path = ../../.;
name = "root";
}
)) ../src;
fileset = intersection (gitTracked ../../.) ../src;
};
pyproject = fromTOML pyproject-toml;
# TODO: define this globally