Skip to content

Commit

Permalink
crabfit-api: fix Rust 1.80.0 build regression
Browse files Browse the repository at this point in the history
Tracking: #332957
Upstream issue: GRA0007/crab.fit#340
Upstream patch: GRA0007/crab.fit#341
  • Loading branch information
tomodachi94 authored and alyssais committed Aug 24, 2024
1 parent f2a252b commit de1be8c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 31 deletions.
88 changes: 57 additions & 31 deletions pkgs/by-name/cr/crabfit-api/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pkgs/by-name/cr/crabfit-api/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ rustPlatform.buildRustPackage rec {
})
];

# FIXME: Remove this after https://github.com/GRA0007/crab.fit/pull/341 is merged,
# or upstream bumps their locked version of 0.3 time to 0.3.36 or later
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';

cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
Expand Down

0 comments on commit de1be8c

Please sign in to comment.