add nix flake

This commit is contained in:
2026-02-26 21:21:24 +01:00
parent 4c904c0659
commit f3776cac72
2 changed files with 57 additions and 0 deletions

30
flake.nix Normal file
View File

@@ -0,0 +1,30 @@
{
description = "Static site generator in c++";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{
self,
nixpkgs,
}:
{
devShells = {
default = nixpkgs.mkShell {
packages = with nixpkgs; [
gcc
gnumake
md4c
catch2_3
clang-tools
gdb
];
};
};
};
}