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 }).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.

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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