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
88d42256
Commit
88d42256
authored
18 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
* One-click installs.
parent
0212feee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/manual/package-management.xml
+31
-1
31 additions, 1 deletion
doc/manual/package-management.xml
with
31 additions
and
1 deletion
doc/manual/package-management.xml
+
31
−
1
View file @
88d42256
...
...
@@ -478,7 +478,37 @@ available in the subscribed channels.</para>
<section
xml:id=
"sec-one-click"
><title>
One-click installs
</title>
<para>
TODO
</para>
<para>
Often, when you want to install a specific package (e.g., from
the
<link
xlink:href=
"http://nix.cs.uu.nl/dist/nix/nixpkgs-unstable-latest/"
>
Nix
Packages collection
</link>
or from our
<link
xlink:href=
'http://nix.cs.uu.nl/dist/'
>
release server
</link>
),
subscribing to a channel is a bit cumbersome. And channels don’t help
you at all if you want to install an older version of a package than
the one provided by the current contents of the channel, or a package
that has been removed from the channel. That’s when
<emphasis>
one-click installs
</emphasis>
come in handy: you can just go
to the web page that contains the package, click on it, and it will be
installed with all the necessary dependencies.
</para>
<para>
For instance, you can go to
<link
xlink:href=
"http://nix.cs.uu.nl/dist/nix/nixpkgs-unstable-latest/"
/>
— or to any older release of Nix Packages — and click on any link for
the individual packages for your platform (say,
<link
xlink:href=
'http://nix.cs.uu.nl/dist/nix/nixpkgs-0.10pre6622/pkgs/subversion-1.4.0-i686-linux.nixpkg'
><literal>
subversion-1.4.0
</literal>
for
<literal>
i686-linux
</literal></link>
). The first time you do
this, your browser will ask what to do with
<literal>
application/nix-package
</literal>
files. You should open
them with
<filename>
/nix/bin/nix-install-package
</filename>
. This
will open a window that asks you to confirm that you want to install
the package. When you answer
<literal>
Y
</literal>
, the package and
all its dependencies will be installed. This is a binary deployment
mechanism — you get packages pre-compiled for the selected platform
type.
</para>
<para>
You can also install
<literal>
application/nix-package
</literal>
files from the command line directly. See
<xref
linkend=
'sec-nix-install-package'
/>
for details.
</para>
</section>
...
...
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