Skip to content

Benefit of flake-parts? #40

Answered by srid
MarkusLohmayer asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

Arguably there are not huge benefits. The main benefits you get are

  • An activation script (nix run) that works across platforms
    • This is nice when you use a single flake across Linux and macOS
  • specialArgs (including flake itself, its inputs and outputs) uniformly passed to all nixos/ nix-darwin/ home-manager modules
    • This enables those modules to be aware of the flake inputs, for instance.
  • a convenient command to update the primary inputs (which can be overriden)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarkusLohmayer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants