add: nix flake

This commit is contained in:
2026-11-21 02:07:32 +01:00
parent 713205d40a
commit 01e38bb791
4 changed files with 222 additions and 0 deletions

26
shell.nix Normal file
View File

@@ -0,0 +1,26 @@
{
inputs,
self,
lib,
...
}:
{
perSystem =
{ pkgs, rustToolchain, ... }:
{
devShells.default = pkgs.mkShell {
packages =
with pkgs;
[
jujutsu
just
nixfmt-tree
]
++ [ rustToolchain ];
buildInputs = with pkgs; [
openssl
];
};
};
}