Skip to content

Forward port path filtering part from #72 #271

Open
@sorki

Description

The PR also finishes PathFilter which is now stubbed/abstracted and wrapped in https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-core/src/System/Nix/Store/Types.hs#L16-L18

This requires some -nar changes, the streamNarIO should keep its signature but call a prime version like streamNarIOWithFilter that would also accept PathFilter. The path filter is (un)used in -readonly https://github.com/haskell-nix/hnix-store/blob/master/hnix-store-readonly/src/System/Nix/Store/ReadOnly.hs#L103-L106 and probably should be added to remote as well but that doesn't need to be handled as part of this.

@squalus @vaibhavsagar wanna take a stab at this? If so assign yourself so there's no duplication of work.

I'll tackle the tranformer part of the PR in the meantime.

Metadata

Assignees

No one assigned

    Labels

    core`hnix-store-core` relatednar`hnix-store-nar` relatedreadonly`hnix-store-readonly` related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions