From b8fb0ce5634456ba987231fc755c32af6f4ada30 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 27 Mar 2012 11:59:36 +0200 Subject: [PATCH] Update "nix-build --help" --- scripts/nix-build.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/nix-build.in b/scripts/nix-build.in index 9e051101c7..14ee1141ea 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