Jonathan Ringer

Results 83 comments of Jonathan Ringer

Agreed, thank you for pointing that out

> Let attribute-sets I'm not even familiar with this. But as an interesting aside, let blocks are implemented as a `rec` attr set.

seems pretty advanced, in rust-lang book terms, I think that would be something which would go into the rust-nomicon instead "intro to nix" book :/

Was thinking of moving back the `build a package` section and instead putting a `how to use nixpkgs` section. Then cover, the most common scenarios: using a flake, using `nix...

I think this makes sense, and I'm a fan of semver. I think once we 1.0.0 the book, then we can use this versioning scheme. cc @nrdxp

;( Fair, I'll think about how to word this in a more clear way.

Yes, but creating a flake.nix and related construction is also very distracting from trying to teach the objective. It would be.... ~10 lines of flake.nix to just replace `import {};`

I agree? `flake.nix` is more about exporting a project to be able to be consumed by others, but it also means that it needs to encapsulate all of that complexity....

Part of me also feels like the usage of `import {}` could help transition into why flakes are necessary. After the "build a Nix package" section, we can introduce flakes,...

> We are obviously gonna have to explain the NIX_PATH either way, but I would like do so in a context where it's already been firmly established that using it...