Skip to content

Don't use src = ./. #119

Open
Open
@nh2

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.

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