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

Store path length limit? #5086

Closed
dhess opened this issue Aug 3, 2021 · 2 comments
Closed

Store path length limit? #5086

dhess opened this issue Aug 3, 2021 · 2 comments

Comments

@dhess
Copy link

dhess commented Aug 3, 2021

What's the technical reason for the 211-character store path length limit?

if (name.size() > 211)

I'm using npmlock2nix to package a React app, and I'm running into this limitation:

error: store path 'w0p04i8klrmla412sxk0539dpx45c408-qpl7imy79n9sd9a2h6s7armj9vqaal70-rk74xqfkqgc282lxhym3vwd9ww35iv7n-9sp1q8q5p3r6h2qm4g74ycp1f7b44zv7-9ikdajp8imc685n5vmiib3f9lny2ygz0-0xnc8c7z7rzxp1hf0vfdjwhhvwd19q3b-helper-builder-binary-assignment-operator-visitor-7.14.5.tgz' has a name longer than 211 characters
@edolstra
Copy link
Member

edolstra commented Aug 3, 2021

The 211-character limit is motivated in this commit 693e68e.

@dhess
Copy link
Author

dhess commented Aug 4, 2021

Wow, I'm surprised ext4's limit is so short.

In any case, I will close this as it seems unlikely to change. I'll take it up with the npmlock2nix maintainers.

@dhess dhess closed this as completed Aug 4, 2021
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