From f15083c10afaebb8f2a0e7fbc95dd4cc5208c992 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 29 Jul 2012 14:37:40 -0400 Subject: Document the --option flag Pointed out by Daniel Santa Cruz on IRC. --- doc/manual/opt-common-syn.xml | 5 +++++ doc/manual/opt-common.xml | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manual/opt-common-syn.xml b/doc/manual/opt-common-syn.xml index 6628fde93516..d65f4009ee6e 100644 --- a/doc/manual/opt-common-syn.xml +++ b/doc/manual/opt-common-syn.xml @@ -37,6 +37,11 @@ path + + + name + value + diff --git a/doc/manual/opt-common.xml b/doc/manual/opt-common.xml index b9df23dcfbe9..0b57517670be 100644 --- a/doc/manual/opt-common.xml +++ b/doc/manual/opt-common.xml @@ -337,7 +337,7 @@ Causes Nix to print out a stack trace in case of Nix expression evaluation errors. - + @@ -351,6 +351,16 @@ + name value + + Set the Nix configuration option + name to value. + This overrides settings in the Nix configuration file (see + nix.conf5). + + + + -- cgit 1.4.1 From 157170059df39933d358d087d88f8b5bc4d5fde6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Jul 2012 22:29:42 -0400 Subject: Manual: Remove reference to non-existent -I option --- doc/manual/package-management.xml | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'doc') diff --git a/doc/manual/package-management.xml b/doc/manual/package-management.xml index 8cc6aa857edd..314218daf346 100644 --- a/doc/manual/package-management.xml +++ b/doc/manual/package-management.xml @@ -175,21 +175,6 @@ upgrading `coreutils-5.0' to `coreutils-5.2.1' -If you grow bored of specifying the Nix expressions using --f all the time, you can set a default -location: - - -$ nix-env -I nixpkgs-version - -After this you can just say, for instance, nix-env -u -'*'.Setting a default using --I currently clashes with using Nix channels, -since nix-channel --update calls nix-env --I to set the default to the Nix expressions it downloaded -from the channel, replacing whatever default you had -set. - -- cgit 1.4.1