diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-01T16·09+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-01T16·09+0100 |
commit | 19477e8815a7c9b91c82278ec0e22957c97bec16 (patch) | |
tree | d84fdbba9c19e4ddf94d15566d655271730ad778 /src/nix-build/nix-build.cc | |
parent | e7b23eb5ab418ca7194f6575014f40bf4d9e6afd (diff) |
nix-build: Ignore --indirect
Note that nix-build always creates indirect roots. Fixes #1830.
Diffstat (limited to 'src/nix-build/nix-build.cc')
-rwxr-xr-x | src/nix-build/nix-build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index 1b249427537d..3d02276bf420 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -141,7 +141,7 @@ void mainWrapped(int argc, char * * argv) else if (*arg == "--version") printVersion(myName); - else if (*arg == "--add-drv-link") + else if (*arg == "--add-drv-link" || *arg == "--indirect") ; // obsolete else if (*arg == "--no-out-link" || *arg == "--no-link") |