chore(nix): run deadnix + statix + alejandra

Automated formatting pass: remove dead bindings, apply statix lint
fixes, normalize formatting via alejandra.
This commit is contained in:
ace-pm 2026-04-21 00:27:31 +02:00
parent d0925d8d31
commit 6446381730
No known key found for this signature in database

View file

@ -6,42 +6,43 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bash
bun
cargo
clippy
git
nodejs_24
rust-analyzer
rustc
rustfmt
uv
];
outputs = {
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bash
bun
cargo
clippy
git
nodejs_24
rust-analyzer
rustc
rustfmt
uv
];
shellHook = ''
export SF_SOURCE_DIR="${toString ./.}"
export PATH="$SF_SOURCE_DIR/bin:$PATH"
export RUST_BACKTRACE=1
shellHook = ''
export SF_SOURCE_DIR="${toString ./.}"
export PATH="$SF_SOURCE_DIR/bin:$PATH"
export RUST_BACKTRACE=1
echo "singularity-forge development shell"
echo " bun : $(command -v bun)"
echo " cargo: $(command -v cargo)"
echo " node : $(command -v node)"
echo " rustc: $(command -v rustc)"
echo ""
echo "Build native addon:"
echo " bun run --filter @singularity-forge/native build:native"
'';
};
});
echo "singularity-forge development shell"
echo " bun : $(command -v bun)"
echo " cargo: $(command -v cargo)"
echo " node : $(command -v node)"
echo " rustc: $(command -v rustc)"
echo ""
echo "Build native addon:"
echo " bun run --filter @singularity-forge/native build:native"
'';
};
});
}