refactor: split flake.nix into multiple files

This commit is contained in:
link2xt
2026-05-25 05:14:36 +02:00
committed by l
parent 506a78b5d4
commit 49c30ecc75
12 changed files with 376 additions and 412 deletions

27
nix/shell.nix Normal file
View File

@@ -0,0 +1,27 @@
{ nixpkgs, fenix, system }:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ fenix.overlays.default ];
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
(fenix.packages.${system}.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
cargo-deny
rust-analyzer-nightly
cargo-nextest
perl # needed to build vendored OpenSSL
git-cliff
(python3.withPackages (pypkgs: [
pypkgs.tox
]))
nodejs
];
}