Skip to content

Commit

Permalink
feat(flake): add development shell for consistent tooling
Browse files Browse the repository at this point in the history
Adds a development shell configuration to ensure consistency
in tools and versions for all users. Updates the `flake.nix`
file to include `nodejs_21` and `corepack` packages within
the default development shell for `x86_64-linux` system.
  • Loading branch information
l31-dev committed Jan 4, 2024
1 parent a7ee71a commit aa16ce8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
nodejs_21
corepack
];

# development shell to ensure everyone
# have the same tools
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
nodejs_21
corepack
];
};

};
}

0 comments on commit aa16ce8

Please sign in to comment.