Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
62d9b31d
Commit
62d9b31d
authored
21 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
* Updates.
parent
f6a30ab2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/manual/Makefile.am
+2
-1
2 additions, 1 deletion
doc/manual/Makefile.am
doc/manual/book.xml
+2
-0
2 additions, 0 deletions
doc/manual/book.xml
doc/manual/installation.xml
+23
-0
23 additions, 0 deletions
doc/manual/installation.xml
doc/manual/overview.xml
+32
-0
32 additions, 0 deletions
doc/manual/overview.xml
with
59 additions
and
1 deletion
doc/manual/Makefile.am
+
2
−
1
View file @
62d9b31d
...
...
@@ -4,7 +4,8 @@ XMLLINT = $(ENV) $(xmllint) $(xmlflags) --catalogs
XSLTPROC
=
$(
ENV
)
$(
xsltproc
)
$(
xmlflags
)
--catalogs
SOURCES
=
book.xml introduction.xml installation.xml
\
nix-store-reference.xml
\
overview.xml
\
nix-store-reference.xml nix-instantiate-reference.xml
\
troubleshooting.xml bugs.xml
book.is-valid
:
$(SOURCES)
...
...
This diff is collapsed.
Click to expand it.
doc/manual/book.xml
+
2
−
0
View file @
62d9b31d
...
...
@@ -5,6 +5,7 @@
[
<!ENTITY introduction SYSTEM "introduction.xml">
<!ENTITY installation SYSTEM "installation.xml">
<!ENTITY overview SYSTEM "overview.xml">
<!ENTITY nix-store-reference SYSTEM "nix-store-reference.xml">
<!ENTITY nix-instantiate-reference SYSTEM "nix-instantiate-reference.xml">
<!ENTITY troubleshooting SYSTEM "troubleshooting.xml">
...
...
@@ -27,6 +28,7 @@
&introduction;
&installation;
&overview;
<appendix>
<title>
Command Reference
</title>
...
...
This diff is collapsed.
Click to expand it.
doc/manual/installation.xml
+
23
−
0
View file @
62d9b31d
...
...
@@ -111,6 +111,29 @@ $ autoreconf -i</screen>
</sect1>
<sect1>
<title>
Using Nix
</title>
<para>
To use Nix, some environment variables should be set. In particular,
<literal>
PATH
</literal>
should contain the directories
<filename><replaceable>
prefix
</replaceable>
/bin
</filename>
and
<filename><replaceable>
prefix
</replaceable>
/var/nix/links/current/bin
</filename>
.
The first directory contains the Nix tools themselves, while the second
contains to the current
<emphasis>
user environment
</emphasis>
(an
automatically generated package consisting of symlinks to installed
packages). The simplest way to set the required environment variables is
to include the file
<filename><replaceable>
prefix
</replaceable>
/etc/profile.d/nix.sh
</filename>
in your
<filename>
~/.bashrc
</filename>
(or similar), like this:
</para>
<screen>
.
<replaceable>
prefix
</replaceable>
/etc/profile.d/nix.sh
</screen>
</sect1>
</chapter>
<!--
...
...
This diff is collapsed.
Click to expand it.
doc/manual/overview.xml
0 → 100644
+
32
−
0
View file @
62d9b31d
<chapter>
<title>
Overview
</title>
<para>
This chapter provides a guided tour of Nix.
</para>
<sect1>
<title>
Basic package management
</title>
<para>
Let's start from the perspective of an end-user. Common operations at
this level are to install and remove packages, ask what packages are
installed or available for installation, and so on.
</para>
<para>
To install packages, a
<emphasis>
Nix expression
</emphasis>
is required
that tells Nix how to build that package. There is a
<ulink
url=
'https://svn.cs.uu.nl:12443/dist/trace/trace-nixpkgs-trunk.tar.bz2'
>
standard
distribution of Nix expressions
</ulink>
for many common packages.
</para>
</sect1>
</chapter>
<!--
local variables:
sgml-parent-document: ("book.xml" "chapter")
end:
-->
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment