https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
245 B
245 B
Quirks
+in names are converted to_plus{_,}:cl+ssl->cl_plus_ssl,alexandria+->alexandria_plus.to_dot_:iolib.base->iolib_dot_base- names starting with a number have a
_prepended (3d-vectors->_3d-vectors)