techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.9K
active users

Doug Parker 🕸️

Spent a couple hours tonight learning to try it out as a build system and have completely and utterly failed.

I understand some of the package management aspects, but I still don't understand `nix-build` or how any of the standard files connect together.

I wanted to get a basic "Compile a TypeScript NPM package" workflow but can't find any examples or documentation of such a flow that isn't just running `npm run build`. I was hoping to use this as a *build system*, not a development environment.

I feel like Nix does so many things that trying to learn how to do any one thing is overwhelming without solid templates to start from. I really need a "Hello World" Node app, and I'm just not finding one which does what I want. Maybe I just have the wrong mindset or something?