Skip to content

Is there a way to generate 'pruned' output #98

Open
@expipiplus1

Description

@expipiplus1

The file generated by stack2nix is reasonably large as it contains every package in stackage. It would be nice if this tool could generate a smaller file which comprises just the dependency closure of the stack project.

Activity

domenkozar

domenkozar commented on Jun 20, 2018

@domenkozar
Contributor

It's really tricky since stack and nix have different dependency resolutions (due to the way flags are enabled, etc). The only way would be to use hnix to generate a flat list of packages needed for top-level packages and prune the rest.

domenkozar

domenkozar commented on Aug 14, 2018

@domenkozar
Contributor

#111 would be a step into this direction.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @domenkozar@expipiplus1

        Issue actions

          Is there a way to generate 'pruned' output · Issue #98 · input-output-hk/stack2nix