about summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-27T09·59+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-03-27T09·59+0200
commitb8fb0ce5634456ba987231fc755c32af6f4ada30 (patch)
treef85a0c577591eaedf030407de1296c422d67e9b5 /scripts/nix-build.in
parent5144abe5b67628d6968d0ab829aa52a6428a77a6 (diff)
Update "nix-build --help"
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-xscripts/nix-build.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index 9e051101c783..14ee1141ea95 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -44,7 +44,12 @@ Flags:
   --drv-link NAME: create symlink NAME instead of `derivation'
   --no-out-link: do not create the `result' symlink
   --out-link / -o NAME: create symlink NAME instead of `result'
-  --attr ATTR: select a specific attribution from the Nix expression
+  --attr / -A ATTR: select a specific attribute from the Nix expression
+  
+  --run-env: build dependencies of the specified derivation, then start a
+      shell with the environment of the derivation
+  --command: command to run with `--run-env'
+  --exclude: regexp specifying dependencies to be excluded by `--run-env'
 
 Any additional flags are passed to `nix-store'.
 EOF