Add basic config for dev environment on nix

This commit is contained in:
Eli Ribble 2024-07-31 20:56:24 -07:00
parent 5099c395b7
commit 60bc97aab1
1 changed files with 14 additions and 0 deletions

14
default.nix Normal file
View File

@ -0,0 +1,14 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "react-bootstrap-shell";
buildInputs = with pkgs; [
create-react-app
nodejs
yarn
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}