stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Stack.Unpack

Description

Functions related to Stack's unpack command.

Synopsis

Documentation

unpackCmd Source #

Arguments

:: ([String], Maybe Text)

A pair of a list of names or identifiers and an optional destination path.

-> RIO Runner () 

Function underlying the stack unpack command. Unpack packages to the filesystem.

unpackPackages Source #

Arguments

:: forall env. (HasPantryConfig env, HasProcessContext env, HasTerm env) 
=> Maybe RawSnapshot

When looking up by name, take from this build plan.

-> Path Abs Dir

Destination.

-> [String]

Names or identifiers.

-> RIO env () 

Intended to work for the command line command.