Add basic config for dev environment on nix
This commit is contained in:
parent
5099c395b7
commit
60bc97aab1
1 changed files with 14 additions and 0 deletions
14
default.nix
Normal file
14
default.nix
Normal 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"
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue