-
Notifications
You must be signed in to change notification settings - Fork 119
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: executing '/nix/store/.../bin/bash': Argument list too long #227
Comments
13 tasks
Ping? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Agenix seems to be limited to around 60 secrets and if you try to add more, the process building your host derivation will die with Argument list too long.
Inspecting
/nix/store/2shq4mwinwqsc30469mzjg94v17ync8h-nixos-system-foo-23.11.20231207.64cd15e.drv
shows a very repetative action snippet which I traced back toinstallSecret
inside age.nix. This installSecret snippet isn't that long but gets replicated for every secret here via:I would suggest that installSecret becomes a bash function and then we just call this bash function instead of replicating the installSecret template over and over again. I will open a PR to illustrate this idea.
The text was updated successfully, but these errors were encountered: