mattercontrol/flake.nix

40 lines
826 B
Nix
Raw Normal View History

2026-01-28 21:45:39 -08:00
{
description = "MatterControl Web Port - Vue + TypeScript + three.js";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
# Node.js LTS and pnpm
nodejs_22
pnpm
# Useful development tools
just
];
shellHook = ''
echo "Developer Environment"
echo "Node.js: $(node --version)"
echo "pnpm: $(pnpm --version)"
'';
};
}
);
}