add nix flake - #216
Open
me-it-is wants to merge 1 commit into
Open
Conversation
httphypixelnet
suggested changes
Aug 31, 2026
| packages = with pkgs; [ | ||
| nodejs_24 | ||
| pnpm_10 | ||
| vale |
Contributor
There was a problem hiding this comment.
Vale dependency is being managed by npm:@vvago/vale
| default = pkgs.mkShell { | ||
| packages = with pkgs; [ | ||
| nodejs_24 | ||
| pnpm_10 |
Contributor
There was a problem hiding this comment.
Since the versions will mismatch in any case, might as well use latest, in case it installs the correct version faster somehow?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a nix flake that provides a dev-shell for development. This makes it so that someone doing development on nixos or who is using nix as their packages manager doesn't have to keep their own copy of this flake or some other Dev shell.
Meta
currently the flake uses the wrong version of pnpm(10.34.5 rather than 10.16.0) because, nixpkgs only contains the most up to date pnpm for each major version. These are the options that i have thought of
One other question that i have whether i should add formatting for the flake in ci or any of the documentation, my logic for not was that these files dont get edited often and to format them requires a nix installation witch would be a pain in ci and also impossible for anyone on windows as nix doesn't support it.
Merge checklist: