{ description = "wutzcalc — festival drink tracker dev shell (https://git.berlin.ccc.de/vinzenz/wutzcalc)"; 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)" ''; }; }); }; }