-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Build failure: nixStatic (bash: Argument list too long) #357949
Comments
I get this failure in 24.05 when trying to upgrade, or from unstable trying to install 24.11, distributive builds also fail on this package. |
Looks like our error is showing up in hydra. |
Since it seems to be a musl only thing and nix has completely replaced autoconf with meson(not in nixpkgs yet) I won't look further in to it. If someone wants to look in to it then probably start at |
You can attempt to build EDIT: Perl cross-compiles on master(and 24.11 probably) so the bindings should be fixed after NixOS/nix#11566 |
The Hydra job The Hydra jobs |
How does one actually build
nixStatic
without a full installation of Nix, such as with the Nix official docker image? It'd be nice to do a multi-stage Docker build like so:Also, is there any predictable URL to grab the static binary besides directly from Hydra? This seems to work for me:
😄
Steps To Reproduce
Steps to reproduce the behavior:
Attempt to build
nixStatic
without downloading from the binary cache, i.e.docker run -it --rm docker.io/nixos/nix nix --extra-experimental-features 'nix-command flakes' build -o /tmp/nix nixpkgs#nixStatic
My laptop running NixOS seems to build it just fine -- but I suspect it's pulling down from the binary cache
Build log
Build Log
(I can get the entire log if desired/needed -- I don't think it's necessary for this example)
Additional context
Metadata
Notify maintainers
@edolstra
@lovesegfault
@Artturin
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: