composition of async path of actions is a little silly, will hopefully
get around to a nicer way to do it.

sunset is still todo, moving to build & deployment first.
This commit is contained in:
Alan 2026-03-15 15:36:27 +11:00
commit 61e88054eb
9 changed files with 564 additions and 0 deletions

48
flake.nix Normal file
View file

@ -0,0 +1,48 @@
# SPDX-License-Identifier: Unlicense
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# Support a particular subset of the Nix systems
# systems.url = "github:nix-systems/default";
};
outputs =
{ nixpkgs, ... }:
let
eachSystem =
f:
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: f nixpkgs.legacyPackages.${system});
in
{
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
packages = [
pkgs.nodejs
# Alternatively, you can use a specific major version of Node.js
# pkgs.nodejs-22_x
# Use corepack to install npm/pnpm/yarn as specified in package.json
pkgs.corepack
# To install a specific alternative package manager directly,
# comment out one of these to use an alternative package manager.
# pkgs.yarn
# pkgs.pnpm
# pkgs.bun
# Required to enable the language server
pkgs.nodePackages.typescript
pkgs.nodePackages.typescript-language-server
# Python is required on NixOS if the dependencies require node-gyp
# pkgs.python3
];
};
});
};
}