forked from Fediversity/Fediversity
restore path for place that needed path over string
This commit is contained in:
parent
196d4e1540
commit
0930a8b75b
4 changed files with 4 additions and 18 deletions
|
@ -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.
|
||||||
|
|
|
@ -13,10 +13,7 @@ let
|
||||||
"cowsay"
|
"cowsay"
|
||||||
];
|
];
|
||||||
pathToRoot = /. + (builtins.unsafeDiscardStringContext self);
|
pathToRoot = /. + (builtins.unsafeDiscardStringContext self);
|
||||||
pathFromRoot = builtins.path {
|
pathFromRoot = ./.;
|
||||||
path = ./.;
|
|
||||||
name = "basic";
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue