chore(nix): replace rocksdb in flake.nix inputs #945

Merged
Jade merged 1 commit from Aviac/continuwuity:nix-rocksdb-derivation into main 2025-09-06 17:40:32 +00:00
Contributor

Consuming this flake is pretty annoying since the rocksdb input is
fetched on every build which takes ~ 10 - 20 sec. By removing it and
replacing it with a pkgs.fetchFromGitea, we create an intermediate
derivation which is better for caching reasons and is also locked via the sha256.

Consuming this flake is pretty annoying since the `rocksdb` input is fetched on every build which takes ~ 10 - 20 sec. By removing it and replacing it with a `pkgs.fetchFromGitea`, we create an intermediate derivation which is better for caching reasons and is also locked via the sha256.
feat(nix): remove rocksdb from flake.nix inputs
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 11s
3e18b183ba
Consuming this flake is pretty annoying since the rocksdb input is
fetched on every build which takes ~ 10 - 20 sec. By removing it and
replacing it with a `pkgs.fetchFromGitea`, we create an intermediate
derivation which is better for caching reasons.
Jade approved these changes 2025-08-26 15:57:32 +00:00
Jade left a comment
Owner

Looks all good to me, although how do I update the hash here? (ideally renovate would be able to handle it, once we get that working)

Looks all good to me, although how do I update the hash here? (ideally renovate would be able to handle it, once we get that working)
Author
Contributor

Looks all good to me, although how do I update the hash here? (ideally renovate would be able to handle it, once we get that working)

I can look a bit more into that. No hurry to merge this. I think renovate doesn't support this kind of hash updating unfortunately. Maybe it's better to keep the rocksdb in the inputs then and accept the annoyances.

Anyways ... I'll research a bit more 👍

> Looks all good to me, although how do I update the hash here? (ideally renovate would be able to handle it, once we get that working) I can look a bit more into that. No hurry to merge this. I think renovate doesn't support this kind of hash updating unfortunately. Maybe it's better to keep the rocksdb in the inputs then and accept the annoyances. Anyways ... I'll research a bit more :+1:
Aviac changed title from chore(nix): replace rocksdb in flake.nix inputs to WIP: chore(nix): replace rocksdb in flake.nix inputs 2025-08-26 17:02:21 +00:00
Owner

No, it's fine (we already have the hash for the toolchain, for example), it's just "how is this going to stay working", which is an open question for the rest of the nix stuff too

No, it's fine (we already have the hash for the toolchain, for example), it's just "how is this going to stay working", which is an open question for the rest of the nix stuff too
Author
Contributor

No, it's fine (we already have the hash for the toolchain, for example), it's just "how is this going to stay working", which is an open question for the rest of the nix stuff too

I'm going to dogfood this really hard. It's also built by my personal hydra (CI) so we'll notice if something goes wrong or old.

> No, it's fine (we already have the hash for the toolchain, for example), it's just "how is this going to stay working", which is an open question for the rest of the nix stuff too I'm going to dogfood this really hard. It's also built by my personal hydra (CI) so we'll notice if something goes wrong or old.
Jade changed title from WIP: chore(nix): replace rocksdb in flake.nix inputs to chore(nix): replace rocksdb in flake.nix inputs 2025-08-29 22:38:26 +00:00
Jade scheduled this pull request to auto merge when all checks succeed 2025-08-29 22:38:41 +00:00
Jade scheduled this pull request to auto merge when all checks succeed 2025-09-06 17:39:51 +00:00
Jade merged commit 969d7cbb66 into main 2025-09-06 17:40:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#945
No description provided.