-
Notifications
You must be signed in to change notification settings - Fork 1
Don't have an auto
directory
#3
Comments
To expand on this, for packages that only have the default.nix file, why not skip putting it in it's own, otherwise empty directory. I.e. |
for consistency, it would be good if every package has a directory. that also makes it easy to add more files to the package and if i understand the technical proposal correct, the directories are what is "auto-called", so they are needed |
It could be done technically (just needs a slight adjustment to |
I think a good long term ambition is to move to a
See https://github.com/nixpkgs-architecture/issues/issues/5#issuecomment-1228656788 If that's too radical for now, we can reduce that to
Specifically this avoids unnecessary abbreviations and nesting. |
Even if we don't decide to move NixOS modules into
|
Idea: Instead of having
pkgs/auto
be the auto-called directory, have it bepkgs
directly. All the bits that can't be auto-called should be put into new top-level directories. This idea was brought to attention by @davidak on MatrixThe text was updated successfully, but these errors were encountered: