about summary refs log tree commit diff
path: root/tvix/.gitignore
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-04-28T14·16+0300
committertazjin <tazjin@tvl.su>2023-04-29T11·49+0000
commit2464ea7303601cf5ee1dc4b3439d91ff182001b0 (patch)
treec44517373080e7586d248ea9da06368bb5ba0265 /tvix/.gitignore
parentb58f6f1d618378d0673a247d0ed9645e305852f5 (diff)
fix(nixery): allow references to packages starting with numbers r/6118
These packages are invalid in Nix, and worked around in nixpkgs with
underscores, but the underscores are invalid in the Docker registry
protocol.

We work around this by detecting this case and adding the underscore
to yield the correct package reference. There is no case where this
workaround can break something, as there can be no valid package
matching the regular expression.

This relates to https://github.com/tazjin/nixery/issues/158

Change-Id: I7990cdb534a8e86c2ceee2c589a2636af70a4a03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8531
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/.gitignore')
0 files changed, 0 insertions, 0 deletions