chore(nix): replace rocksdb in flake.nix inputs #945
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/MSC
Matrix/Media
Meta
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/continuwuity#945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Aviac/continuwuity:nix-rocksdb-derivation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consuming this flake is pretty annoying since the
rocksdb
input isfetched on every build which takes ~ 10 - 20 sec. By removing it and
replacing it with a
pkgs.fetchFromGitea
, we create an intermediatederivation which is better for caching reasons and is also locked via the sha256.
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 👍
chore(nix): replace rocksdb in flake.nix inputsto WIP: chore(nix): replace rocksdb in flake.nix inputsNo, 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.
WIP: chore(nix): replace rocksdb in flake.nix inputsto chore(nix): replace rocksdb in flake.nix inputs