6b224a9e31
Lorri does not cleanly integrate with my corporate device, which cannot run NixOS. To expose dependencies to Emacs buffers, I will use nix-buffer.el, which reads its values from dir-locals.nix. To easily expose dependencies from my existing shell.nix files into dir-locals.nix, I wrote a Nix utility function. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
bsconfig.json | ||
index.html | ||
indexProduction.html | ||
package.json | ||
README.md | ||
UNUSED_webpack.config.js | ||
watcher.js | ||
yarn.lock |
Nut Score
I cloned most of this start boilerplate from github.com/BuckleScript/bucklescript by running the following:
$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score
Installing
$ nix-shell
$ yarn install
Developing
In one shell run:
$ nix-shell
$ yarn server
In another shell run:
$ nix-shell
$ yarn start
Now open a web browser and visit localhost:8000
.