-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: unexpected argument '3' Try '__build-remote --help' for more information.
#125
Comments
Are you also using remote builder? |
@Mic92 in practice, yes, we will be using a custom remote builder. However, adding e.g. the local nix daemon as a remote builder fails with the same error:
|
The nix library tries to self-execute, which we do not implement in nix-eval-jobs:
Here is how nix handles this: https://github.com/NixOS/nix/blob/ac0fb38e8a5a25a84fa17704bd31b453211263eb/src/nix/main.cc#L270 I suspect hydra would also fail to evaluate this. As of now |
Why does it do that even though I pass both
|
Note: playing around with it some more, it appears that this error also occurs when only
fails with:
It's unclear to me why nix-eval-jobs is unable to build https://github.com/dbornside-os-testorg/test/commit/759525f9a99f15d12d9df70087f78399f09fddc4 locally.
it starts building stuff, as I would expect. |
This issue is solved. A couple of points:
|
Running the command
where
test/release.nix
refers to https://github.com/dbornside-os-testorg/test/commit/759525f9a99f15d12d9df70087f78399f09fddc4I get the following error:
The same command works fine when run on a nix file that does not use IFD.
The reason I'm running nix-eval-jobs with these options is that I don't want it to build IFD derivations. Ie. I want it to fail in case of IFDs, but the above error looks like a bug, although I'm not sure what's going on.
The text was updated successfully, but these errors were encountered: