diff --git a/doc/manual/src/command-ref/nix-env/install.md b/doc/manual/src/command-ref/nix-env/install.md index aa1204328..2f0fed92e 100644 --- a/doc/manual/src/command-ref/nix-env/install.md +++ b/doc/manual/src/command-ref/nix-env/install.md @@ -148,8 +148,8 @@ To copy the store path with symbolic name `gcc` from another profile: $ nix-env --install --from-profile /nix/var/nix/profiles/foo gcc ``` -To install a specific [store derivation] (typically created by -`nix-instantiate`): +To install a specific [store derivation](@docroot@/glossary.md#gloss-store-derivation) +(typically created by `nix-instantiate`): ```console $ nix-env --install /nix/store/fibjb1bfbpm5mrsxc4mh2d8n37sxh91i-gcc-3.4.3.drv diff --git a/lix/nix/nix.md b/lix/nix/nix.md index d11639253..c7bee000f 100644 --- a/lix/nix/nix.md +++ b/lix/nix/nix.md @@ -320,7 +320,7 @@ operate are determined as follows: a command like `nix shell nixpkgs#libxml2` will provide only those two outputs by default. - Note that a [store derivation] (given by its `.drv` file store path) doesn't have + Note that a [store derivation][] (given by its `.drv` file store path) doesn't have any attributes like `meta`, and thus this case doesn't apply to it. [store derivation]: ../../glossary.md#gloss-store-derivation