Loading
syncyomi: refactor derivation
1. use finalAttrs param instead of rec attrs using a "fix-point" style derivation that takes a self arg (aka finalAttrs) makes it easier to override things for consumers than when using a `rec` attr set, which is just syntactic sugar and doesn't propagate overriding. this is especially useful since the the build's ldflags and the web sub-derivation definition both used the `src` and `version` attributes. 2. refact esbuild override the derivation forces esbuild to be the same version as declared in its web/pnpm-lock.yaml file, but it did it by overriding the definition of `buildGoModule` used by the esbuild drv. however, it seems like this was unecessary, since just doing .overrideAttrs also worked fine for changing the esbuild version.