Nix Tutorial
Made with NixThis is a tutorial about nix, the .replit file and how to nixify your favorite language.
Recent comments (16)JonkPank1 year agoHow do you make nix install these packages? I have been struggling with this for hours.
I copied your exact files to a Github repo, imported it into a replit, and when I run it I get:
bash: cowsay: command not foundkorosu5552 years agothis has nothing to do with your tutorial necessarily, but, what i dont understand and cant seem to grasp. Why do you still see package.json and package-lock.json with packages in it while people use Nix. I would expect all the packages to be in the replit.nix file and not in package.json for example. I checked some Nix replits and they do not have [packager] in their .replit file, so i expect them in the replit.nix file. Maybe you can clarify
korosu5552 years agoThanks for the tutorial! I tried changing my .replit run command from the default (run = "node index.js") to yours run = ["run", "node index.js"]
i get the following error: run node index.js unable to find executable exec: "run": executable file not found in $PATH
Any idea why?
Background info: i forked nodejs 16 from https://docs.replit.com/programming-ide/getting-started-nix
cdCreepArghhh2 years agoFINALLY
SOMEONE MADE A NIX TUTORIAL
thanks
pinned
Made with HTML, CSS, JSRecent comments (0)
Working on tools for using replit better; stay tuned.
Repls
Community
All Repls