normalise, remove unrelated

This commit is contained in:
Valentin Gagarin 2025-06-11 18:23:27 +02:00
parent 0930a8b75b
commit 5e887094c3
7 changed files with 13 additions and 10 deletions

View file

@ -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.

View file

@ -60,7 +60,7 @@ in
(import (
builtins.path {
path = ../..;
name = "deployment";
name = "source";
}
))
{

View file

@ -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

View file

@ -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

View file

@ -21,7 +21,7 @@ let
let
dir = builtins.path {
path = ./.;
name = "python-packages";
name = "source";
};
in
with builtins;

View file

@ -1,4 +1,4 @@
(import (builtins.path {
path = ./.;
name = "panel";
name = "source";
}) { }).shell

View file

@ -1,4 +1,4 @@
(import (builtins.path {
path = ./.;
name = "root";
name = "source";
}) { }).shell