Skip to content

Don't use src = ./. #119

Description

@nh2

stack2nix currently uses src = ./. for the current project, which means it adds huge dirs like .stack-work or potentially .git to the build environment, resulting in

warning: dumping very large path (> 256 MiB); this may run out of memory

and slow builds.

It should filterSource those away (at least .stack-work), and probably also handle the basename problem by using builtins.path.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions