this post was submitted on 18 Oct 2023
17 points (100.0% liked)

nixos

1259 readers
3 users here now

All about NixOS - https://nixos.org/

founded 4 years ago
 

Could be areas of improvement as well

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

Agreed, flakes are the way. Its just making them searchable hasn't been easy/realistic until recently.

Also I feel like flakes are kind of tainted by always pulling in nixpkgs as a massive dependency chain. I think there should be a standard library separate from the packages, and nixpkgs.lib is 80% pure functions. So I've been working on making a "lib" flake that

  1. Is 100% pure (no stdenv)
  2. is versioned
  3. doesnt link/depend on all of nixpkgs

I know it still won't be practical to avoid depending on nixpkgs, but I think its a step towards breaking up nixpkg into organized/managable chunks.