aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-binary-cache-store.md
blob: 93fddc840538ab84a2dcb732bfe70517350fe8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
R"(

**Store URL format**: `file://`*path*

This store allows reading and writing a binary cache stored in *path*
in the local filesystem. If *path* does not exist, it will be created.

For example, the following builds or downloads `nixpkgs#hello` into
the local store and then copies it to the binary cache in
`/tmp/binary-cache`:

```
# nix copy --to file:///tmp/binary-cache nixpkgs#hello
```

)"