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 22 forks source link

1-Step Workflow with flake.nix #53

Closed jamesdbrock closed 1 year ago

jamesdbrock commented 1 year ago

@considerate figured out the magic formula for a 1-step spago2nix build. You have to delete the line in nix-prefetch-git where it actually adds the pre-fetched packages to the Nix store.

This PR includes a test build derivation of the purescript-uint package. To test,

cd test-flake
nix build
jamesdbrock commented 1 year ago

https://github.com/purescript/spago/issues/547

jamesdbrock commented 1 year ago

This PR might be a replacement for #41

jamesdbrock commented 1 year ago

thx 💖