marginalia-search: init at 24.01.2-unstable-2024-08-09 #349
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hacky.
downloads.marginalia.nu
are basically impossible for me to download via Nix (very slow connection & prone to abort) so the downloads had to be brute-forced witharia2
and hashed separately (maybe move them to module setup? Butinstall.sh
will try to verify that they're downloaded at install-time)mitmCache
setup doesn't have a documented way for doing this nicelyconfigurePhase
before building & runningmarginalia-search.mitmCache.updateScript
, otherwisesetup.sh
gets invoked, which obviously fails if we don't have the cache updated to the latest dependenciesinstall.sh
is intended for interactive usage and wants to do install-time setup for run-time details$out/share/marginalia
to a directory the services can modify (/var/lib/...
)services.zookeeper
)WMSA_HOME
envvar when running$out/bin/marginalia
so the code knows where it can find the modifiable$out/share/marginalia
dataI don't expect this to build anymore, since some of the sources update daily which invalidates the hashes, but this is what I had so far.