Add nix flake with devshell and direnv

This commit is contained in:
Toast 2025-01-19 13:18:50 +01:00
parent 4f743b71f2
commit 87645bb52c
4 changed files with 78 additions and 0 deletions

17
flake.nix Normal file
View file

@ -0,0 +1,17 @@
{
inputs = {
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
nest-cli
];
};
}
);
}