Skip to content

Bulk actions #4

Open
Open
@chris-martin

Description

@chris-martin

The nix-instantiate and nix-store --realise commands are both able to accept a list of arguments to instantiate or realize multiple derivations at once. For situations where one has a list of things to build, might it afford better performance to have bulk operations like these?

instantiateMany :: [NixExpr] -> NixAction InstantiateError [StorePath Derivation]

realizeMany :: [StorePath Derivation] -> NixAction RealizeError [StorePath Realized]

I'm considering trying to write these functions, but I'm curious whether you might have any insight first on whether it seems like a worthwhile effort.

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