scaffold festival drink tracker (pnpm workspace, Fastify + SQLite, Preact tablet UI, admin)

This commit is contained in:
müde 2026-05-19 18:12:01 +02:00
parent cf33e6ea04
commit e0898bea22
34 changed files with 5446 additions and 0 deletions

36
flake.nix Normal file
View file

@ -0,0 +1,36 @@
{
description = "wutzcalc festival drink tracker dev shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f {
inherit system;
pkgs = import nixpkgs { inherit system; };
});
in {
devShells = forAllSystems ({ pkgs, system }: {
default = pkgs.mkShell {
packages = with pkgs; [
nodejs_20
pnpm
sqlite
sqlite-interactive
python3
pkg-config
gcc
gnumake
];
shellHook = ''
echo "wutzcalc dev shell"
echo " node $(node --version)"
echo " pnpm $(pnpm --version)"
echo " sqlite $(sqlite3 --version | cut -d' ' -f1)"
'';
};
});
};
}