-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
lib.fileset.empty feature request #266366
Copy link
Copy link
Closed
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: libThe Nixpkgs function libraryThe Nixpkgs function library
Description
It could be useful to have a lib.fileset.empty, a file set containing no files, maybe for
- Third-party functions returning file sets like
- A default value when folding over a list of no elements in user code
Though I haven't really encountered a good use case for it, we might not need it.
However it would be trivial to add, all the code is already there, just needs to be exposed.
If somebody needs this, please 👍 and explain your use case.
This issue is sponsored by Antithesis ✨
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: libThe Nixpkgs function libraryThe Nixpkgs function library
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done