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
|
}).run
|
||||||
{
|
{
|
||||||
src = ./.;
|
src = builtins.path {
|
||||||
|
path = ./.;
|
||||||
|
name = "source";
|
||||||
|
};
|
||||||
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.
|
||||||
|
|
|
@ -60,7 +60,7 @@ in
|
||||||
(import (
|
(import (
|
||||||
builtins.path {
|
builtins.path {
|
||||||
path = ../..;
|
path = ../..;
|
||||||
name = "deployment";
|
name = "source";
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
inherit (builtins) toString;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
REPO_DIR = builtins.path {
|
REPO_DIR = toString ../.;
|
||||||
path = ../.;
|
|
||||||
name = "root";
|
|
||||||
};
|
|
||||||
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
||||||
BIN_PATH = lib.makeBinPath [
|
BIN_PATH = lib.makeBinPath [
|
||||||
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
# explicitly use nix, as e.g. lix does not have configurable-impure-env
|
||||||
|
|
|
@ -14,7 +14,7 @@ let
|
||||||
root = ../src;
|
root = ../src;
|
||||||
fileset = intersection (gitTracked ../../.) ../src;
|
fileset = intersection (gitTracked ../../.) ../src;
|
||||||
};
|
};
|
||||||
pyproject = fromTOML pyproject-toml;
|
pyproject = with lib; fromTOML pyproject-toml;
|
||||||
# TODO: define this globally
|
# TODO: define this globally
|
||||||
name = "panel";
|
name = "panel";
|
||||||
# TODO: we may want this in a file so it's easier to read statically
|
# TODO: we may want this in a file so it's easier to read statically
|
||||||
|
|
|
@ -21,7 +21,7 @@ let
|
||||||
let
|
let
|
||||||
dir = builtins.path {
|
dir = builtins.path {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
name = "python-packages";
|
name = "source";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
with builtins;
|
with builtins;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(import (builtins.path {
|
(import (builtins.path {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
name = "panel";
|
name = "source";
|
||||||
}) { }).shell
|
}) { }).shell
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(import (builtins.path {
|
(import (builtins.path {
|
||||||
path = ./.;
|
path = ./.;
|
||||||
name = "root";
|
name = "source";
|
||||||
}) { }).shell
|
}) { }).shell
|
||||||
|
|
Loading…
Add table
Reference in a new issue