From 46a71c857c617b5acbf3d1fdb8fb7e676a4881a2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 9 Jan 2004 14:18:28 +0000 Subject: * Option `--force-realise' in `nix-store --query'. --- doc/manual/nix-store.xml | 124 +++++++++++++++++++++++++++-------------------- 1 file changed, 72 insertions(+), 52 deletions(-) (limited to 'doc/manual/nix-store.xml') diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index cbd38cd2380a..479c1c3b09a5 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -7,14 +7,10 @@ nix-store - - - - - - - - + + + + operation options arguments @@ -56,7 +52,7 @@ &opt-verbose; - + / Specifies that in case of a build failure, the temporary directory @@ -112,9 +108,9 @@ Synopsis nix-store - - - + + + paths @@ -160,9 +156,9 @@ Synopsis nix-store - - - + + + paths @@ -203,22 +199,22 @@ Synopsis nix-store - - - + + + - - - - - - - - - - - + + + + + + + + + + + args @@ -235,13 +231,55 @@ + + + Common query options + + + + + / + + + For those queries that take a Nix store expression, this + option causes those expressions to be normalised first. + + + + + + / + + + For those queries that take a Nix store expression, this + option causes those expressions to be realised first. + This is just a short-cut for the common idiom + + +nix-store --realise /nix/store/bla.store +x=`nix-store --query --normalise /nix/store/bla.store +(do something with the path $x + + which using this flag can be written as + + +x=`nix-store --query --normalise --force-realise /nix/store/bla.store +(do something with the path $x + + + + + + + + Queries - + / Prints out the output paths of the @@ -257,7 +295,7 @@ - + / Prints out the requisite paths of the store expressions @@ -304,18 +342,6 @@ - - - - - Causes the requisite paths of the - successor of the given store - expressions to be printed, rather than the - requisite paths of the expressions themselves. - - - - @@ -398,9 +424,7 @@ Synopsis nix-store - - - + srcpath sucpath @@ -432,9 +456,7 @@ Synopsis nix-store - - - + srcpath subpath @@ -466,9 +488,7 @@ Synopsis nix-store - - - + -- cgit 1.4.1