tmnvanderberg / cgol-rs

game of life using rust, wasm and canvas
0 stars 0 forks source link

nix and rust #1

Open jgarte opened 1 year ago

jgarte commented 1 year ago

Hi, great project repo you have here.

Is there any special set up for using the nix shell besides just having nix installed?

I realize that I can do nix shell at the root of this repo.

I've been having difficulties sourcing the right info for setting up nix with rust and would love to know how you did it. It would be much appreciated.

tmnvanderberg commented 1 year ago

Hey there. Yes this works as is. You just nix-shell shell.nix. I am far from a rust expert, the code here (except from the nix part) is from: https://rustwasm.github.io/docs/book/game-of-life/introduction.html