Initial Commit

This commit is contained in:
kossLAN 2026-06-06 23:08:48 -04:00
commit 0534f88f70
No known key found for this signature in database
14 changed files with 5590 additions and 0 deletions

41
flake.nix Normal file
View file

@ -0,0 +1,41 @@
{
description = "Development shell for Wry docs";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.mkShell {
packages = [
pkgs.corepack
pkgs.nodejs_24
];
shellHook = ''
export COREPACK_HOME="$PWD/.cache/corepack"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
mkdir -p "$COREPACK_HOME" "$PWD/.cache/corepack-bin"
corepack enable --install-directory "$PWD/.cache/corepack-bin" >/dev/null
corepack install >/dev/null
export PATH="$PWD/.cache/corepack-bin:$PATH"
'';
};
});
};
}