nix-build: Ignore --indirect

Note that nix-build always creates indirect roots.

Fixes #1830.
This commit is contained in:
Eelco Dolstra 2018-02-01 17:09:56 +01:00
parent e7b23eb5ab
commit 19477e8815
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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")