Skip to content

build(nix): update deps#552

Open
joelkoen wants to merge 2 commits intoredlib-org:mainfrom
joelkoen:main
Open

build(nix): update deps#552
joelkoen wants to merge 2 commits intoredlib-org:mainfrom
joelkoen:main

Conversation

@joelkoen
Copy link
Copy Markdown
Contributor

Currently locked deps are too old to build the latest version of redlib. flake.lock was last updated on 2024-11-21 (#331).

error: Cannot build '/nix/store/6x3c45nx3dbfn9c3ki9rw0f7nrw8xyfr-redlib-deps-0.36.0.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/93hfp3vnagbhnz95gf2kyyvbdf6vslbc-redlib-deps-0.36.0
       Last 25 log lines:
       > default configurePhase, nothing to do
       > Running phase: buildPhase
       > ++ command cargo --version
       > cargo 1.82.0 (8f40fc59f 2024-08-21)
       > ++ command cargo check --release --locked
       > error: failed to get `arc-swap` as a dependency of package `redlib v0.36.0 (/build/source)`
       >
       > Caused by:
       >   failed to load source for dependency `arc-swap`
       >
       > Caused by:
       >   Unable to update registry `crates-io`
       >
       > Caused by:
       >   failed to update replaced source registry `crates-io`
       >
       > Caused by:
       >   failed to parse manifest at `/nix/store/qgn21px5h6fnjw05wpryjm69gkyg0j3x-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/revision-derive-0.17.0/Cargo.toml`
       >
       > Caused by:
       >   feature `edition2024` is required
       >
       >   The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.82.0 (8f40fc59f 2024-08-21)).
       >   Consider trying a newer version of Cargo (this may require the nightly release).
       >   See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature.
       For full logs, run:
         nix log /nix/store/6x3c45nx3dbfn9c3ki9rw0f7nrw8xyfr-redlib-deps-0.36.0.drv

@joelkoen joelkoen marked this pull request as draft April 27, 2026 12:39
@joelkoen
Copy link
Copy Markdown
Contributor Author

joelkoen commented Apr 27, 2026

I couldn't figure out how to get boringssl to work with a static binary, so I dropped it. Not sure if that's OK, but I didn't see it being used/documented anywhere, and the static binaries available in "Releases" seem to be compiled on GH Actions outside of Nix.

@joelkoen joelkoen marked this pull request as ready for review April 27, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant