Merge pull request #283864 from mfrischknecht/fix-aw-server-rust-build

aw-server-rust: fix failing build due to removed unstable rust feature
This commit is contained in:
Nick Cao 2024-01-27 10:46:04 -05:00 committed by GitHub
commit 3971b41661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, rustPlatform
, makeWrapper
, pkg-config
@ -164,6 +165,14 @@ rec {
src = ./override-version.patch;
version = sources.rev;
})
# Can be removed with release 0.12.3
(fetchpatch {
name = "remove-unused-unstable-features.patch";
url = "https://github.com/ActivityWatch/aw-server-rust/commit/e1cd761d2f0a9309eb851b59732c2567a7ae2d3a.patch";
hash = "sha256-wP+3XZDkr148XY5b8RV3obuLczAFBE3FhaYPqnmmGcU=";
includes = [ "aw-server/src/lib.rs" ];
})
];
nativeBuildInputs = [