-
Notifications
You must be signed in to change notification settings - Fork 267
Conversation
@philipbeadle well, this is me testing |
I have a Question (weird: I can't enter a lower-case 'Q' in this window); Once I build holochain-rust using nix-shell, am i forced to use the same nix-shell to build/test any other Holochain projects? This seem to be because of the version checks done by NodeJS; if my system has a newer NodeJS (the one in nix-shell is Quite old vs. the one installed via Anyway, this is something we'll need to document when detailing how to start/build a new Holochain project; if you build |
EDIT: this was due to setting Building on Debian fails due to not finding the
|
@pjkundert glad as far as node versions go, keeping consistent node versions across projects sounds like the problem to be solved, which nix may be one solution to the ancient 8.x version that nix is shipping is due to trial and error over the past 6 months or so getting everything node related to work with core (usually neon related issues in the conductor), even minor/patch versions have broken things in the past, e.g. e.g. 8.x is still LTS until 2020 (https://nodejs.org/en/about/releases/) and IIRC using nvm to get the default 8.x version can break, or could break at some point, is maybe fixed now? it's really hard to keep track of which versions of node even work at any point in time, and our CI infrastructure is not currently up to the task of throwing a matrix of node 8, 10, 11, 12 across debian, ubuntu, mac, nix, windows at all our tests (that would be about 20x new test runs) without that CI infrastructure in place, we're being conservative about what we say we support and conservative about pinning/changing node versions in core to me it would make sense to stick a minimal if we can safely upgrade to a newer node version and you think we should use that, let's get that in the nix shell and auto install scripts note that we are pushing towards reducing/removing the need for a specific node versions in core through the future split of the holochain node conductor, and bringing more code back into native rust - the pain might just go away by itself over time, or at least be moved/quarantined to where it can be tackled in a dedicated node context/ecosystem |
DO NOT MERGE UNTIL DEVELOP FILTERING IS ON FOR COLD NIX BUILD
followup
i (dave) tried testing the nix shell on ubuntu/debian cold builds in docker, but there is a known issue where the root user in docker and nix don't play nice without some gnarly workarounds:
NixOS/nix#1559
looks like this can be addressed, but is out of scope here i think, and it doesn't stop real end-user-devs working with nix on ubuntu/debian because real devs won't be working as
root