nix: switch to shell.nix instead of flakes

This commit is contained in:
Agahnim 2026-05-11 15:42:47 +02:00
parent 9bc182b9bc
commit ff1fed15de
Signed by: Agahnim
SSH key fingerprint: SHA256:Zj65PJnE0dRYye8Ltk/qDglynyXUxJngQ9qqx/VI+b4
4 changed files with 18 additions and 59 deletions

17
shell.nix Normal file
View file

@ -0,0 +1,17 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = with pkgs; [
rustc
rust-analyzer
rustfmt
clippy
cargo
cargo-watch
];
shellHook = ''
echo "========================================================="
echo "Pour lancer le projet et avoir les changements en temps réel : "
echo "- cargo watch -w content -w src -w templates -w static -x run"
'';
}