Skip to content

lib.fileset.empty feature request #266366

@infinisil

Description

@infinisil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: libThe Nixpkgs function library

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions