Home Explore Blog Models CI



nix

src/libstore/dummy-store.md
d4700f689f2a8eaee80202216c2e5f14500f7b6e717324d20000000300000171
R"(

**Store URL format**: `dummy://`

This store type represents a store in memory.
Store objects can be read and written, but only so long as the store is open.
Once the store is closed, all data will be forgoton.

It's useful when you want to use the Nix evaluator when no actual Nix store exists, e.g.

```console
# nix eval --store dummy:// --expr '1 + 2'
```

)"

Chunks
975e4522 (1st chunk of `src/libstore/dummy-store.md`)
Title: Dummy Store Type for Nix Evaluator
Summary
This chunk describes the `dummy://` store URL format, which represents an in-memory store type. Data within this store can be read and written only while it's open, and all data is lost once it closes. Its primary use case is for using the Nix evaluator when no actual Nix store is available, as demonstrated by an example command `nix eval --store dummy:// --expr '1 + 2'`.