# `Spectre.Stack.Installation`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/stack/installation.ex#L1)

Immutable result of compiling one package inside a Stack.

Installation values contain only inspected configuration and logical
capability declarations. Runtime handles are created later by
`Spectre.Stack.Runtime`.

# `t`

```elixir
@type t() :: %Spectre.Stack.Installation{
  actions: [term()],
  adapters: map(),
  config: map() | keyword(),
  digest: String.t() | nil,
  id: term(),
  legacy?: boolean(),
  operations: [term()],
  package: Spectre.Stack.Package.t(),
  provides: [term()],
  resources: [term()]
}
```

# `from_extension_mount`

```elixir
@spec from_extension_mount(Spectre.Extension.Mount.t()) :: t()
```

Converts a legacy `Spectre.Extension.Mount` into an immutable installation.

# `from_provider_mount`

```elixir
@spec from_provider_mount(Spectre.Action.Provider.Mount.t()) :: t()
```

Converts a legacy `Spectre.Action.Provider.Mount` into an installation.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
