mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Get rid of <figure>
This commit is contained in:
parent
ca130b73a0
commit
136fd55bb2
2 changed files with 20 additions and 24 deletions
|
@ -14,10 +14,10 @@ strings prefixed to the directory names are cryptographic hashes\[1\] of
|
|||
*all* inputs involved in building the package — sources, dependencies,
|
||||
compiler flags, and so on. So if two packages differ in any way, they
|
||||
end up in different locations in the file system, so they don’t
|
||||
interfere with each other. [figure\_title](#fig-user-environments) shows
|
||||
a part of a typical Nix store.
|
||||
interfere with each other. Here is what a part of a typical Nix store
|
||||
looks like:
|
||||
|
||||

|
||||

|
||||
|
||||
Of course, you wouldn’t want to type
|
||||
|
||||
|
@ -30,11 +30,10 @@ package we want to use, but this is not very convenient since changing
|
|||
Nix uses is to create directory trees of symlinks to *activated*
|
||||
packages. These are called *user environments* and they are packages
|
||||
themselves (though automatically generated by `nix-env`), so they too
|
||||
reside in the Nix store. For instance, in
|
||||
[figure\_title](#fig-user-environments) the user environment
|
||||
`/nix/store/0c1p5z4kda11...-user-env` contains a symlink to just
|
||||
Subversion 1.1.2 (arrows in the figure indicate symlinks). This would be
|
||||
what we would obtain if we had done
|
||||
reside in the Nix store. For instance, in the figure above, the user
|
||||
environment `/nix/store/0c1p5z4kda11...-user-env` contains a symlink to
|
||||
just Subversion 1.1.2 (arrows in the figure indicate symlinks). This
|
||||
would be what we would obtain if we had done
|
||||
|
||||
$ nix-env -i subversion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue