neighbour-hoods / social_sensemaker

integration of `rep_lang` and Holochain
Other
25 stars 2 forks source link

rework `nix` so we manage most deps #9

Closed mhuesch closed 2 years ago

mhuesch commented 3 years ago

right now we use https://github.com/sacredcapital/rep_interchange/blob/main/shell.nix which packages Holonix, which takes a pretty monolithic approach.

an example pain point is that npm is outdated, but I am not really sure how to safely update our holonix/hc pins. also, should we really depend on the Holochain team to manage our npm versions for us? I don't really think so.

caveats

we are warned here that this might be a huge pain:

If you want to maintain your own development environment then we can only offer rough advice, because anything we say today could be out of date tomorrow:

  • Use a recent stable version of rust
  • Use node 12x+ for clientside work
  • Install any relevant shared libs like libsodium
  • Write your own scaffolding, build and development tools
  • Plan for dependency management as we ship new binaries

so I wonder if there is some middle ground where we use holonix but only for the Holochain essentials...

mhuesch commented 2 years ago

we have effectively done this in https://github.com/neighbour-hoods/nh-nix-env. closing.