restore path for place that needed path over string
Some checks failed
/ check-pre-commit (pull_request) Successful in 13s
/ check-peertube (pull_request) Successful in 18s
/ check-panel (pull_request) Successful in 1m7s
/ check-deployment-basic (pull_request) Successful in 29m39s
/ check-deployment-cli (pull_request) Failing after 29m37s

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 }).run
{ {
src = builtins.path { src = ./.;
path = ./.;
name = "root";
};
hooks = hooks =
let let
## Add a directory here if pre-commit hooks shouldn't apply to it. ## Add a directory here if pre-commit hooks shouldn't apply to it.

View file

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

View file

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

View file

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