I have been working on some Nix code to package PureScript projects that use the new shiny spago@next and its lock files. It’s in a state that I am happy with and I thought that some people here might find it useful! Let me know what you think and please submit bug reports. I am sure there will be some edge cases that I have missed.
There are examples in the repository’s readme file, as well as several in the tests directory. Enjoy packaging with Nix!