Files
UT-Registration-Plus/flake.nix
doprz f0f1f0b365 chore: bump node and pnpm version (#620)
* chore(nix): update flake

* chore(nix): remove just and update comment

* chore(nix): update node version + volta config
2025-08-12 14:00:45 -05:00

32 lines
703 B
Nix

{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs:
inputs.flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = (import (inputs.nixpkgs) { inherit system; });
in
{
formatter = pkgs.nixfmt-rfc-style;
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
nodejs_20 # v20.19.4
pnpm_10 # v10.14.0
];
shellHook = ''
echo "UTRP Nix Flake Environment Loaded"
echo "Node: $(node --version)"
echo "pnpm: $(pnpm --version)"
'';
};
}
);
}