The GitLab continuous deployment script incrementally lengths the name of nixpkgs until it exceeds system limits
After several deployments with the script, it switches to a persistent failure state, reporting:
+ morph deploy /home/deployment/PrivateStorageio/morph/grid/testing/grid.nix switch --on monitoring
error: The path name 's2bzzvvn56gkbrqgm52yavws1i63v3n1-4ngwwhj1wx27d50irbbw2blgpki1ddqi-i140aznk9ys675ybihm03203wk9xvaf3-cfsjy5wfwlrrmx1gmcz92fmwck08c5kg-l673
zlh4lvcxgv6dya1by3z5r07wxm6c-rq6cnxd23wzdhvq2a1jj53n5bbrx8yqy-vv70nkylllk1qrvfhl0153r2iy1dfxs9-release2105' is invalid: name must be less than 212 characters.
Path names are alphanumeric and can include the symbols +-._?= and must not begin with a period. Note: If 's2bzzvvn56gkbrqgm52yavws1i63v3n1-4ngwwhj1wx27d50ir
bbw2blgpki1ddqi-i140aznk9ys675ybihm03203wk9xvaf3-cfsjy5wfwlrrmx1gmcz92fmwck08c5kg-l673zlh4lvcxgv6dya1by3z5r07wxm6c-rq6cnxd23wzdhvq2a1jj53n5bbrx8yqy-vv70nkylll
k1qrvfhl0153r2iy1dfxs9-release2105' is a source file and you cannot rename it on disk, builtins.path { name = ... } can be used to give it an alternative name