Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out splitting/merging derivations #11

Open
artemist opened this issue Feb 29, 2024 · 0 comments
Open

Figure out splitting/merging derivations #11

artemist opened this issue Feb 29, 2024 · 0 comments
Labels
mass rebuild Requires rebuilding stdenv nixpkgs Technically not this repo

Comments

@artemist
Copy link
Member

We currently have a large number of small derivations, and this is only increasing. e.g. zfs will require 12 more, many vary similar

We should figure out the structure of the FreeBSD directory. I think there's 3 main options:

  • Keep it the way it is, many tiny derivations
  • Move some grouped libraries/binaries into single derivations, possibly based on "packages" defined in the FreeBSD makefiles. Currently "bin" and "libc" basically do this
  • Group several derivations into a single file, then inherit in default.nix

I think I support the 3rd option, it keeps dependencies clear but reduces the large number of files and code duplication we need, especially in things like zfs

@artemist artemist added nixpkgs Technically not this repo mass rebuild Requires rebuilding stdenv labels Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mass rebuild Requires rebuilding stdenv nixpkgs Technically not this repo
Projects
None yet
Development

No branches or pull requests

1 participant