feat(shells): Test

This commit is contained in:
Tibo De Peuter 2025-09-16 21:26:28 +02:00
parent b819c45b4c
commit b4fd8f2dbf
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
5 changed files with 163 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
description = "Rust Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, flake-utils, nixpkgs }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
cargo
rustc
];
shellHook = ''
'';
};
});
}