easy-purescript-nix
easy-purescript-nix copied to clipboard
Easy PureScript (and other tools) with Nix
```console $ nix-prefetch-url "https://github.com/purescript/purescript/releases/download/v0.15.3/linux64.tar.gz" path is '/nix/store/wgf97fn7r3d1wk52ap9aasx3dz3a0234-linux64.tar.gz' 083pd5l0q2dj4ky9r4sgnfiinlch73qcvl3l26jf3nfs48y8hffv $ nix-prefetch-url "https://github.com/purescript/purescript/releases/download/v0.15.3/macos.tar.gz" path is '/nix/store/g3mqvhy5kgb4mwbwb924jmjm2az0vd3f-macos.tar.gz' 01ka3j1aakcabw6kmkfbk4c2cl2prihk6g8zvc995l83snj4n403 ```
```console $ nix-prefetch-url "https://github.com/MaybeJustJames/zephyr/releases/download/v0.5.0/Linux.tar.gz" path is '/nix/store/h1kihn9xk19vgc4w6s51m3jxzcy858k3-Linux.tar.gz' 1c44nddlx7hx097klfslhap717fkah20vgf1phsp0gj8imjyvr0h $ nix-prefetch-url "https://github.com/MaybeJustJames/zephyr/releases/download/v0.5.0/macOS.tar.gz" path is '/nix/store/8kaazcdh6psgkhz9dwnbp37vfkvyikac-macOS.tar.gz' 1qpd0mwnvkxygby467cr0zwcrpwnv9f0s99g7w8hfz0zfcg358bg ```
https://github.com/justinwoo/easy-purescript-nix/issues/192 maintenance of these packages should be standardized, this is one of the least annoying ways: https://github.com/svanderburg/node2nix/#deploying-a-collection-of-npm-packages-from-the-npm-registry @jamesdbrock
Just a simple flake that exposes the packages in this repo.
on Mac m1 mini, I git cloned the repo, then ran nix-shell ./ci.nix appear to be getting bad cpu type with names mentioning Mac OS x86 on m1 chip building...
> So what I have been doing is keeping an uncommitted `package.json` around the folders. For instance this in `purs-tidy`: > > ```json > { > "name": "purs-tidy", > "version":...
https://github.com/justinwoo/easy-purescript-nix/runs/5388418344?check_suite_focus=true#step:4:1836 ``` purs: /nix/store/j0ibsi9cwb1aaglxmfbzvf18gqw0ylri-ncurses-6.2-abi5-compat/lib/libtinfo.so.5: no version information available (required by purs) 0.14.7 ``` @toastal do you happen to know why purescript releases have ncurses problems now?
Is it possible to merge #134?
https://github.com/justinwoo/easy-purescript-nix/blob/5716cd791c999b3246b4fe173276b42c50afdd8d/default.nix#L119 somewhere in this body causes all of the derivations to be built it seems, which isn't _that_ slow because we do not allow derivations that try to build from...
I... - cloned the repository - `nix-shell ./ci.nix` - `spago init` - `spago test` Got the following ``` [info] Build succeeded. /bin/sh: node: command not found [error] Tests failed: exit...