Skip to content

Only regenerate stackage packages when needed #13

@nc6

Description

@nc6

packages.nix need only be regenerated when the resolver changes (and if the user has made changes to packages-configuration.nix, regenerating when not needed is actively harmful), whereas default.nix might more frequent regeneration (when adding extra-packages, for example).

Simple solution: if packages.nix exists, only regenerate it if --derive-stackage is passed. This would also speed up runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions