build(nix): use flake-parts and treefmt

This commit is contained in:
LGUG2Z committed 2025-11-28 13:27:04 -08:00
1 parent 48a21eba61
commit 0b34b8bfb1
3 files changed
+246 -194

No files matched your search

+23 -21
View File
@@ -1,25 +1,27 @@
{pkgs ? import (fetchTarball "https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz") {}}:
{
pkgs ? import (fetchTarball "https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz") { },
}:
with pkgs;
mkShell {
name = "komorebi";
mkShell {
name = "komorebi";
RUST_BACKTRACE = "full";
RUST_BACKTRACE = "full";
buildInputs = [
alejandra
cargo-deny
cargo-nextest
cargo-udeps
gcc
jq
just
libiconv
prettier
taplo
buildInputs = [
alejandra
cargo-deny
cargo-nextest
cargo-udeps
gcc
jq
just
libiconv
prettier
taplo
python311Packages.mkdocs-material
python311Packages.mkdocs-macros
python311Packages.setuptools
python311Packages.json-schema-for-humans
];
}
python311Packages.mkdocs-material
python311Packages.mkdocs-macros
python311Packages.setuptools
python311Packages.json-schema-for-humans
];
}