base devshell

This commit is contained in:
zedddie 2026-03-15 14:28:31 +01:00 committed by tuturuu
parent 1b6a2f126a
commit ea12044fc8
No known key found for this signature in database
GPG key ID: B352C3C2894405A7

30
flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{
self,
nixpkgs,
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
runtimeLibs = with pkgs; [
];
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cargo
rustfmt
git
pkg-config
openssl
];
shellHook = "exec fish";
};
};
}