Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions doc/manual/source/advanced-topics/diff-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ code of 0:
```console
$ nix-build ./deterministic.nix --attr stable
this derivation will be built:
/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda38-stable.drv
building '/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda38-stable.drv'...
/nix/store/yyxlzw3vqaas7wfp04g0b1xg51f2czgq-stable
/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda3o-stable.drv
building '/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda3o-stable.drv'...
/nix/store/yyxlzw3vqaas7wfp04g0b1xg51f2czgo-stable

$ nix-build ./deterministic.nix --attr stable --check
checking outputs of '/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda38-stable.drv'...
/nix/store/yyxlzw3vqaas7wfp04g0b1xg51f2czgq-stable
checking outputs of '/nix/store/z98fasz2jqy9gs0xbvdj939p27jwda3o-stable.drv'...
/nix/store/yyxlzw3vqaas7wfp04g0b1xg51f2czgo-stable
```

If the build is not deterministic, Nix will exit with a status code of
Expand All @@ -65,20 +65,20 @@ If the build is not deterministic, Nix will exit with a status code of
```console
$ nix-build ./deterministic.nix --attr unstable
this derivation will be built:
/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv
building '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv'...
/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable
/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv
building '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv'...
/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cao-unstable

$ nix-build ./deterministic.nix --attr unstable --check
checking outputs of '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv'...
error: derivation '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv' may
not be deterministic: output '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable' differs
checking outputs of '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv'...
error: derivation '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv' may
not be deterministic: output '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cao-unstable' differs
```

In the Nix daemon's log, we will now see:

```
For derivation /nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv:
For derivation /nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv:
1c1
< 8108
---
Expand All @@ -90,15 +90,15 @@ build's output in a special, `.check` path:

```console
$ nix-build ./deterministic.nix --attr unstable --check --keep-failed
checking outputs of '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv'...
checking outputs of '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv'...
note: keeping build directory '/tmp/nix-build-unstable.drv-0'
error: derivation '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dhk-unstable.drv' may
not be deterministic: output '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable' differs
from '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable.check'
error: derivation '/nix/store/cgl13lbj1w368r5z8gywipl1ifli7dho-unstable.drv' may
not be deterministic: output '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cao-unstable' differs
from '/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cao-unstable.check'
```

In particular, notice the
`/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cap-unstable.check` output. Nix
`/nix/store/krpqk0l9ib0ibi1d2w52z293zw455cao-unstable.check` output. Nix
has copied the build results to that directory where you can examine it.

> []{#check-dirs-are-unregistered} **Note**
Expand All @@ -117,7 +117,7 @@ has copied the build results to that directory where you can examine it.
already. If the derivation has not been built Nix will fail with the
error:

error: some outputs of '/nix/store/hzi1h60z2qf0nb85iwnpvrai3j2w7rr6-unstable.drv'
error: some outputs of '/nix/store/hzi1h60z2qf0nb85iwnpvrai3j2w7rro-unstable.drv'
are not valid, so checking is not possible

Run the build without `--check`, and then try with `--check` again.
4 changes: 2 additions & 2 deletions doc/manual/source/advanced-topics/eval-profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ site](https://en.wikipedia.org/wiki/Call_site) position and the name of the
function being called (when available). For example:

```
/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source/pkgs/top-level/default.nix:167:5:primop import
/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2o-source/pkgs/top-level/default.nix:167:5:primop import
```

Here `import` primop is called at `/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2v-source/pkgs/top-level/default.nix:167:5`.
Here `import` primop is called at `/nix/store/x9wnkly3k1gkq580m90jjn32q9f05q2o-source/pkgs/top-level/default.nix:167:5`.
18 changes: 9 additions & 9 deletions doc/manual/source/advanced-topics/post-build-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,29 +93,29 @@ Build any derivation, for example:
```console
$ nix-build --expr '(import <nixpkgs> {}).writeText "example" (builtins.toString builtins.currentTime)'
this derivation will be built:
/nix/store/s4pnfbkalzy5qz57qs6yybna8wylkig6-example.drv
building '/nix/store/s4pnfbkalzy5qz57qs6yybna8wylkig6-example.drv'...
/nix/store/s4pnfbkalzy5qz57qs6yybna8wylkigo-example.drv
building '/nix/store/s4pnfbkalzy5qz57qs6yybna8wylkigo-example.drv'...
running post-build-hook '/home/grahamc/projects/github.com/NixOS/nix/post-hook.sh'...
post-build-hook: Signing paths /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n18-example
post-build-hook: Uploading paths /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n18-example
/nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n18-example
post-build-hook: Signing paths /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n1o-example
post-build-hook: Uploading paths /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n1o-example
/nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n1o-example
```

Then delete the path from the store, and try substituting it from the
binary cache:

```console
$ rm ./result
$ nix-store --delete /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n18-example
$ nix-store --delete /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n1o-example
```

Now, copy the path back from the cache:

```console
$ nix-store --realise /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n18-example
copying path '/nix/store/m8bmqwrch6l3h8s0k3d673xpmipcdpsa-example from 's3://example-nix-cache'...
$ nix-store --realise /nix/store/ibcyipq5gf91838ldx40mjsp0b8w9n1o-example
copying path '/nix/store/m8bmqwrch6l3h8s0k3d673xpmipcdpso-example from 's3://example-nix-cache'...
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/m8bmqwrch6l3h8s0k3d673xpmipcdpsa-example
/nix/store/m8bmqwrch6l3h8s0k3d673xpmipcdpso-example
```

# Conclusion
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/files/manifest.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here is an example of what the file might look like after installing `zoom-us` f
"attrPath": "legacyPackages.x86_64-linux.zoom-us",
"originalUrl": "flake:nixpkgs",
"storePaths": [
"/nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxl-zoom-us-5.3.469451.0927"
"/nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxo-zoom-us-5.3.469451.0927"
],
"uri": "github:NixOS/nixpkgs/13d0c311e3ae923a00f734b43fd1d35b47d8943a"
},
Expand Down
6 changes: 3 additions & 3 deletions doc/manual/source/command-ref/files/manifest.nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ Here is an example of how this file might look like after installing `hello` fro
"i686-windows"
];
position =
"/nix/store/7niq32w715567hbph0q13m5lqna64c1s-nixos-unstable.tar.gz/nixos-unstable.tar.gz/pkgs/applications/misc/hello/default.nix:34";
"/nix/store/7niq32w715567hbph0q13m5lqna64c1o-nixos-unstable.tar.gz/nixos-unstable.tar.gz/pkgs/applications/misc/hello/default.nix:34";
unfree = false;
unsupported = false;
};
name = "hello-2.12.1";
out = {
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywql1-hello-2.12.1";
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywqlo-hello-2.12.1";
};
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywql1-hello-2.12.1";
outPath = "/nix/store/260q5867crm1xjs4khgqpl6vr9kywqlo-hello-2.12.1";
outputs = [ "out" ];
system = "x86_64-linux";
type = "derivation";
Expand Down
18 changes: 9 additions & 9 deletions doc/manual/source/command-ref/files/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ For example:
```console
$ ls -l ~alice/.local/state/nix/profiles/profile*
lrwxrwxrwx 1 alice users 14 Nov 25 14:35 /home/alice/.local/state/nix/profiles/profile -> profile-7-link
lrwxrwxrwx 1 alice users 51 Oct 28 16:18 /home/alice/.local/state/nix/profiles/profile-5-link -> /nix/store/q69xad13ghpf7ir87h0b2gd28lafjj1j-profile
lrwxrwxrwx 1 alice users 51 Oct 29 13:20 /home/alice/.local/state/nix/profiles/profile-6-link -> /nix/store/6bvhpysd7vwz7k3b0pndn7ifi5xr32dg-profile
lrwxrwxrwx 1 alice users 51 Nov 25 14:35 /home/alice/.local/state/nix/profiles/profile-7-link -> /nix/store/mp0x6xnsg0b8qhswy6riqvimai4gm677-profile
lrwxrwxrwx 1 alice users 51 Oct 28 16:18 /home/alice/.local/state/nix/profiles/profile-5-link -> /nix/store/q69xad13ghpf7ir87h0b2gd28lafjj1o-profile
lrwxrwxrwx 1 alice users 51 Oct 29 13:20 /home/alice/.local/state/nix/profiles/profile-6-link -> /nix/store/6bvhpysd7vwz7k3b0pndn7ifi5xr32do-profile
lrwxrwxrwx 1 alice users 51 Nov 25 14:35 /home/alice/.local/state/nix/profiles/profile-7-link -> /nix/store/mp0x6xnsg0b8qhswy6riqvimai4gm67o-profile
```

Each of these symlinks is a root for the Nix garbage collector.
Expand All @@ -37,15 +37,15 @@ dr-xr-xr-x 4 root root 4096 Jan 1 1970 share

/home/eelco/.local/state/nix/profiles/profile-7-link/bin:
total 20
lrwxrwxrwx 5 root root 79 Jan 1 1970 chromium -> /nix/store/ijm5k0zqisvkdwjkc77mb9qzb35xfi4m-chromium-86.0.4240.111/bin/chromium
lrwxrwxrwx 7 root root 87 Jan 1 1970 spotify -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3rn-spotify-1.1.26.501.gbe11e53b-15/bin/spotify
lrwxrwxrwx 3 root root 79 Jan 1 1970 zoom-us -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxl-zoom-us-5.3.469451.0927/bin/zoom-us
lrwxrwxrwx 5 root root 79 Jan 1 1970 chromium -> /nix/store/ijm5k0zqisvkdwjkc77mb9qzb35xfi4o-chromium-86.0.4240.111/bin/chromium
lrwxrwxrwx 7 root root 87 Jan 1 1970 spotify -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3ro-spotify-1.1.26.501.gbe11e53b-15/bin/spotify
lrwxrwxrwx 3 root root 79 Jan 1 1970 zoom-us -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxo-zoom-us-5.3.469451.0927/bin/zoom-us

/home/eelco/.local/state/nix/profiles/profile-7-link/share/applications:
total 12
lrwxrwxrwx 4 root root 120 Jan 1 1970 chromium-browser.desktop -> /nix/store/4cf803y4vzfm3gyk3vzhzb2327v0kl8a-chromium-unwrapped-86.0.4240.111/share/applications/chromium-browser.desktop
lrwxrwxrwx 7 root root 110 Jan 1 1970 spotify.desktop -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3rn-spotify-1.1.26.501.gbe11e53b-15/share/applications/spotify.desktop
lrwxrwxrwx 3 root root 107 Jan 1 1970 us.zoom.Zoom.desktop -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxl-zoom-us-5.3.469451.0927/share/applications/us.zoom.Zoom.desktop
lrwxrwxrwx 4 root root 120 Jan 1 1970 chromium-browser.desktop -> /nix/store/4cf803y4vzfm3gyk3vzhzb2327v0kl8o-chromium-unwrapped-86.0.4240.111/share/applications/chromium-browser.desktop
lrwxrwxrwx 7 root root 110 Jan 1 1970 spotify.desktop -> /nix/store/w9182874m1bl56smps3m5zjj36jhp3ro-spotify-1.1.26.501.gbe11e53b-15/share/applications/spotify.desktop
lrwxrwxrwx 3 root root 107 Jan 1 1970 us.zoom.Zoom.desktop -> /nix/store/wbhg2ga8f3h87s9h5k0slxk0m81m4cxo-zoom-us-5.3.469451.0927/share/applications/us.zoom.Zoom.desktop

```
Expand Down
10 changes: 5 additions & 5 deletions doc/manual/source/command-ref/nix-copy-closure.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ When using public key authentication, you can avoid typing the passphrase with `
> $ storePath="$(nix-build '<nixpkgs>' -I nixpkgs=channel:nixpkgs-unstable -A hello --no-out-link)"
> $ nix-copy-closure --to [email protected] "$storePath"
> copying 5 paths...
> copying path '/nix/store/nrwkk6ak3rgkrxbqhsscb01jpzmslf2r-xgcc-13.2.0-libgcc' to 'ssh://[email protected]'...
> copying path '/nix/store/gm61h1y42pqyl6178g90x8zm22n6pyy5-libunistring-1.1' to 'ssh://[email protected]'...
> copying path '/nix/store/ddfzjdykw67s20c35i7a6624by3iz5jv-libidn2-2.3.7' to 'ssh://[email protected]'...
> copying path '/nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31' to 'ssh://[email protected]'...
> copying path '/nix/store/g1n2vryg06amvcc1avb2mcq36faly0mh-hello-2.12.1' to 'ssh://[email protected]'...
> copying path '/nix/store/nrwkk6ak3rgkrxbqhsscb01jpzmslf2o-xgcc-13.2.0-libgcc' to 'ssh://[email protected]'...
> copying path '/nix/store/gm61h1y42pqyl6178g90x8zm22n6pyyo-libunistring-1.1' to 'ssh://[email protected]'...
> copying path '/nix/store/ddfzjdykw67s20c35i7a6624by3iz5jo-libidn2-2.3.7' to 'ssh://[email protected]'...
> copying path '/nix/store/apab5i73dqa09wx0q27b6fbhd1r18iho-glibc-2.39-31' to 'ssh://[email protected]'...
> copying path '/nix/store/g1n2vryg06amvcc1avb2mcq36faly0mo-hello-2.12.1' to 'ssh://[email protected]'...
> ```

> **Example**
Expand Down
6 changes: 3 additions & 3 deletions doc/manual/source/command-ref/nix-env/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ To install a specific [store derivation] (typically created by
`nix-instantiate`):

```console
$ nix-env --install /nix/store/fibjb1bfbpm5mrsxc4mh2d8n37sxh91i-gcc-3.4.3.drv
$ nix-env --install /nix/store/fibjb1bfbpm5mrsxc4mh2d8n37sxh91o-gcc-3.4.3.drv
```

To install a specific output path:

```console
$ nix-env --install /nix/store/y3cgx0xj1p4iv9x0pnnmdhr8iyg741vk-gcc-3.4.3
$ nix-env --install /nix/store/y3cgx0xj1p4iv9x0pnnmdhr8iyg741vo-gcc-3.4.3
```

To install from a Nix expression specified on the command-line:
Expand All @@ -231,7 +231,7 @@ $ nix-env --file '<nixpkgs>' --install --attr hello --dry-run
(dry run; not doing anything)
installing ‘hello-2.10’
this path will be fetched (0.04 MiB download, 0.19 MiB unpacked):
/nix/store/wkhdf9jinag5750mqlax6z2zbwhqb76n-hello-2.10
/nix/store/wkhdf9jinag5750mqlax6z2zbwhqb76o-hello-2.10
...
```

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-env/set-flag.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ firefox-2.0.0.9 (the current one)

$ nix-env --preserve-installed --install firefox-2.0.0.11
installing `firefox-2.0.0.11'
building path(s) `/nix/store/myy0y59q3ig70dgq37jqwg1j0rsapzsl-user-environment'
building path(s) `/nix/store/myy0y59q3ig70dgq37jqwg1j0rsapzso-user-environment'
collision between `/nix/store/...-firefox-2.0.0.11/bin/firefox'
and `/nix/store/...-firefox-2.0.0.9/bin/firefox'.
(i.e., can’t have two active at the same time)
Expand Down
8 changes: 4 additions & 4 deletions doc/manual/source/command-ref/nix-instantiate.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ Instantiate [store derivation]s from a Nix expression, and build them using `nix

```console
$ nix-instantiate test.nix (instantiate)
/nix/store/cigxbmvy6dzix98dxxh9b6shg7ar5bvs-perl-BerkeleyDB-0.26.drv
/nix/store/cigxbmvy6dzix98dxxh9b6shg7ar5bvo-perl-BerkeleyDB-0.26.drv

$ nix-store --realise $(nix-instantiate test.nix) (build)
...
/nix/store/qhqk4n8ci095g3sdp93x7rgwyh9rdvgk-perl-BerkeleyDB-0.26 (output path)
/nix/store/qhqk4n8ci095g3sdp93x7rgwyh9rdvgo-perl-BerkeleyDB-0.26 (output path)

$ ls -l /nix/store/qhqk4n8ci095g3sdp93x7rgwyh9rdvgk-perl-BerkeleyDB-0.26
$ ls -l /nix/store/qhqk4n8ci095g3sdp93x7rgwyh9rdvgo-perl-BerkeleyDB-0.26
dr-xr-xr-x 2 eelco users 4096 1970-01-01 01:00 lib
...
```
Expand All @@ -152,7 +152,7 @@ You can also give a Nix expression on the command line:

```console
$ nix-instantiate --expr 'with import <nixpkgs> { }; hello'
/nix/store/j8s4zyv75a724q38cb0r87rlczaiag4y-hello-2.8.drv
/nix/store/j8s4zyv75a724q38cb0r87rlczaiag4o-hello-2.8.drv
```

This is equivalent to:
Expand Down
4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/nix-prefetch-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ $ nix-prefetch-url ftp://ftp.gnu.org/pub/gnu/hello/hello-2.10.tar.gz
```console
$ nix-prefetch-url --print-path mirror://gnu/hello/hello-2.10.tar.gz
0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8o-hello-2.10.tar.gz
```

```console
$ nix-prefetch-url --unpack --print-path https://github.com/NixOS/patchelf/archive/0.8.tar.gz
079agjlv0hrv7fxnx9ngipx14gyncbkllxrp9cccnh3a50fxcmy7
/nix/store/19zrmhm3m40xxaw81c8cqm6aljgrnwj2-0.8.tar.gz
/nix/store/19zrmhm3m40xxaw81c8cqm6aljgrnwjo-0.8.tar.gz
```
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/add-fixed.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ This operation has the following options:

```console
$ nix-store --add-fixed sha256 ./hello-2.10.tar.gz
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz
/nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8o-hello-2.10.tar.gz
```

2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ as symlinks with the same target.

```console
$ nix-store --add ./foo.c
/nix/store/m7lrha58ph6rcnv109yzx1nk1cj7k7zf-foo.c
/nix/store/m7lrha58ph6rcnv109yzx1nk1cj7k7zo-foo.c
```
4 changes: 2 additions & 2 deletions doc/manual/source/command-ref/nix-store/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ paths in the store that refer to it (i.e., depend on it).
# Example

```console
$ nix-store --delete /nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qk7-mesa-6.4
$ nix-store --delete /nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qko-mesa-6.4
0 bytes freed (0.00 MiB)
error: cannot delete path `/nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qk7-mesa-6.4' since it is still alive
error: cannot delete path `/nix/store/zq0h41l75vlb4z45kzgjjmsjxvcv1qko-mesa-6.4' since it is still alive
```
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/gc.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To delete all unreachable paths, just do:

```console
$ nix-store --gc
deleting `/nix/store/kq82idx6g0nyzsp2s14gfsc38npai7lf-cairo-1.0.4.tar.gz.drv'
deleting `/nix/store/kq82idx6g0nyzsp2s14gfsc38npai7lo-cairo-1.0.4.tar.gz.drv'
...
8825586 bytes freed (8.42 MiB)
```
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/source/command-ref/nix-store/optimise.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Use `-vv` or `-vvv` to get some progress indication.

```console
$ nix-store --optimise
hashing files in `/nix/store/qhqx7l2f1kmwihc9bnxs7rc159hsxnf3-gcc-4.1.1'
hashing files in `/nix/store/qhqx7l2f1kmwihc9bnxs7rc159hsxnfo-gcc-4.1.1'
...
541838819 bytes (516.74 MiB) freed by hard-linking 54143 files;
there are 114486 files with equal contents out of 215894 files in total
Expand Down
6 changes: 3 additions & 3 deletions doc/manual/source/command-ref/nix-store/print-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ of the builder are placed in the variable `_args`.
```console
$ nix-store --print-env $(nix-instantiate '<nixpkgs>' -A firefox)
export src; src='/nix/store/plpj7qrwcz94z2psh6fchsi7s8yihc7k-firefox-12.0.source.tar.bz2'
export stdenv; stdenv='/nix/store/7c8asx3yfrg5dg1gzhzyq2236zfgibnn-stdenv'
export src; src='/nix/store/plpj7qrwcz94z2psh6fchsi7s8yihc7o-firefox-12.0.source.tar.bz2'
export stdenv; stdenv='/nix/store/7c8asx3yfrg5dg1gzhzyq2236zfgibno-stdenv'
export system; system='x86_64-linux'
export _args; _args='-e /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25c-default-builder.sh'
export _args; _args='-e /nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25o-default-builder.sh'
```

Loading
Loading