Skip to content

Source filtering #13

Description

@roberth

Changes to unrelated files cause rebuilds, especially when the package is at the root of the repo, where non-package files have no other place to go.

Some solutions:
a. parse the cabal file in Nix: no experimental features required, but somewhat hard to get right, not future proof
b. or use ca-derivations with buildFromSdist or buildFromCabalSdist (NixOS/nixpkgs#174176)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions