From 4c4e89165227d92f9e11fc18082e50006a04ffd0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 13 Dec 2014 23:27:22 +0100 Subject: [PATCH] Update .nixpkg description --- .../command-ref/nix-install-package.xml | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/doc/manual/command-ref/nix-install-package.xml b/doc/manual/command-ref/nix-install-package.xml index 7d5cd996e..f7802a95d 100644 --- a/doc/manual/command-ref/nix-install-package.xml +++ b/doc/manual/command-ref/nix-install-package.xml @@ -3,7 +3,7 @@ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="sec-nix-install-package"> - + nix-install-package 1 @@ -47,8 +47,7 @@ The command nix-install-package interactively installs a Nix Package file (*.nixpkg), which is a small file that contains a store path to be installed along with the -URL of a nix-push -manifest. The Nix Package file is either +URL of a binary cache. The Nix Package file is either file, or automatically downloaded from url if the switch is used. @@ -76,7 +75,7 @@ to restart itself with xterm, Options - + Do not open a new terminal window and do not ask @@ -139,14 +138,14 @@ The elements are as follows: NIXPKG1 - + The version of the Nix Package file. manifestURL - + The manifest to be pulled by nix-pull. The manifest must contain outPath. @@ -154,21 +153,21 @@ The elements are as follows: name - + The symbolic name and version of the package. system - + The platform identifier of the platform for which this binary package is intended. drvPath - + The path in the Nix store of the derivation from which outPath was built. Not currently used. @@ -176,17 +175,21 @@ The elements are as follows: outPath - - The path in the Nix store of the package. After - nix-install-package has obtained the manifest - from manifestURL, it performs a - nix-env -i outPath - to install the binary package. + + The path in the Nix store of the + package. + + + + binaryCacheURL + + The URL of a binary cache containing the closure + of outPath. - + An example follows: