From 60bc97aab14eab963ed115527c3d03d557128999 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 31 Jul 2024 20:56:24 -0700 Subject: [PATCH] Add basic config for dev environment on nix --- default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 default.nix diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..aacbbdb --- /dev/null +++ b/default.nix @@ -0,0 +1,14 @@ +with import {}; + +stdenv.mkDerivation { + name = "react-bootstrap-shell"; + buildInputs = with pkgs; [ + create-react-app + nodejs + yarn + ]; + shellHook = '' + export PATH="$PWD/node_modules/.bin/:$PATH" + ''; +} +