Merge pull request #7217 from NixOS/restore-nix-build-remote
Fix `nix __build-remote`
This commit is contained in:
+1
-1
@@ -270,7 +270,7 @@ void mainWrapped(int argc, char * * argv)
|
||||
programPath = argv[0];
|
||||
auto programName = std::string(baseNameOf(programPath));
|
||||
|
||||
if (argc > 0 && std::string_view(argv[0]) == "__build-remote") {
|
||||
if (argc > 1 && std::string_view(argv[1]) == "__build-remote") {
|
||||
programName = "build-remote";
|
||||
argv++; argc--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user