Skip to content
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

Argument list too long #78

Closed
shadowrylander opened this issue Feb 6, 2022 · 12 comments
Closed

Argument list too long #78

shadowrylander opened this issue Feb 6, 2022 · 12 comments

Comments

@shadowrylander
Copy link

Hello!

While setting up the build environment: executing '/nix/store/...-bash-5.1-p8/bin/bash': Argument list too long.

I'm getting this while installing nixos with a presumably large number of files and directories.

How might I go about fixing this?

Thank you kindly for the help!

@talyz
Copy link
Collaborator

talyz commented Feb 14, 2022

Do you have more context info? Where is the argument list in question?

@shadowrylander
Copy link
Author

shadowrylander commented Feb 14, 2022

All the files here! 😭 It gives me no other context, but only happens when I add these files to the list!

@talyz
Copy link
Collaborator

talyz commented Feb 14, 2022

It should at least say what it's trying to build before the error message. Can you paste the whole output, even if it doesn't look relevant? Is this using the NixOS or the home-manager module?

@shadowrylander
Copy link
Author

NixOS, and I'm just about to restart the install; I'll paste the output in a bit!

@shadowrylander
Copy link
Author

@talyz
Copy link
Collaborator

talyz commented Feb 16, 2022

Can you try #85? I hope it solves this issue.

@shadowrylander
Copy link
Author

So I invalidated the tarball cache, wiped out the mountpoint's nix directory, and reinstalled; same error.

@talyz
Copy link
Collaborator

talyz commented Feb 16, 2022

Well, if that doesn't solve it, I have no idea what the issue is 🤷 How did you fetch the branch?

@shadowrylander
Copy link
Author

fetchGit; I'm currently trying again from a fresh install medium instance.

@shadowrylander
Copy link
Author

Well that didn't work...

@shadowrylander
Copy link
Author

Wait, wait, wait, wait, wait; just realized you're using a pull-request branch!

@shadowrylander
Copy link
Author

YES! YES IT WORKS! THANK YOU SO MUCH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants