Add basic config for dev environment on nix
This commit is contained in:
parent
5099c395b7
commit
60bc97aab1
|
@ -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"
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue