forked from Fediversity/Fediversity
normalise, remove unrelated
This commit is contained in:
parent
0930a8b75b
commit
5e887094c3
7 changed files with 13 additions and 10 deletions
|
@ -18,7 +18,10 @@ let
|
|||
};
|
||||
}).run
|
||||
{
|
||||
src = ./.;
|
||||
src = builtins.path {
|
||||
path = ./.;
|
||||
name = "source";
|
||||
};
|
||||
hooks =
|
||||
let
|
||||
## Add a directory here if pre-commit hooks shouldn't apply to it.
|
||||
|
|
|
@ -60,7 +60,7 @@ in
|
|||
(import (
|
||||
builtins.path {
|
||||
path = ../..;
|
||||
name = "deployment";
|
||||
name = "source";
|
||||
}
|
||||
))
|
||||
{
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (builtins) toString;
|
||||
in
|
||||
{
|
||||
REPO_DIR = builtins.path {
|
||||
path = ../.;
|
||||
name = "root";
|
||||
};
|
||||
REPO_DIR = toString ../.;
|
||||
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
||||
BIN_PATH = lib.makeBinPath [
|
||||
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
root = ../src;
|
||||
fileset = intersection (gitTracked ../../.) ../src;
|
||||
};
|
||||
pyproject = fromTOML pyproject-toml;
|
||||
pyproject = with lib; fromTOML pyproject-toml;
|
||||
# TODO: define this globally
|
||||
name = "panel";
|
||||
# TODO: we may want this in a file so it's easier to read statically
|
||||
|
|
|
@ -21,7 +21,7 @@ let
|
|||
let
|
||||
dir = builtins.path {
|
||||
path = ./.;
|
||||
name = "python-packages";
|
||||
name = "source";
|
||||
};
|
||||
in
|
||||
with builtins;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import (builtins.path {
|
||||
path = ./.;
|
||||
name = "panel";
|
||||
name = "source";
|
||||
}) { }).shell
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import (builtins.path {
|
||||
path = ./.;
|
||||
name = "root";
|
||||
name = "source";
|
||||
}) { }).shell
|
||||
|
|
Loading…
Add table
Reference in a new issue