Skip to content

Commit

Permalink
add files for nix dev environenment support and relevant .gitignore e…
Browse files Browse the repository at this point in the history
…ntry.
  • Loading branch information
PVautour committed Oct 7, 2024
1 parent 0b83f14 commit f549296
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ common/config/rush/pnpm-lock.yaml

**/packages/geoview-core/types
packages/geoview-core/public/docs/

.direnv/
14 changes: 14 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
pkgs ? import <nixpkgs> { },
}:

pkgs.mkShell {
buildInputs = [
pkgs.nodejs
pkgs.nodePackages.rush
];

shellHook = ''
echo "Development environment ready. You can use 'rush' now."
'';
}

0 comments on commit f549296

Please sign in to comment.