justinwoo / spago2nix

Generate a derivation of (old) Spago dependencies, and use them to install them into the directory structure used by Spago.
MIT License
42 stars 23 forks source link

Refactor and Readme #15

Open m-bock opened 5 years ago

m-bock commented 5 years ago

This PR enhances the README example to use the newly created mkBuildProjectOutput function. It contains also some refactoring on the other build functions in the generated file.

tbenst commented 4 years ago

Thanks for this great package!

The current mock derivation on README doesn't work for me as it fails to build .purs from ./src. Copying script from mkBuildProjectOutput works however.

In case you're interested, here's an example for using spago2nix with mkYarnPackage: https://github.com/tbenst/purescript-nix-example