bootc: fix rustc 1.90.0 errors
Upstream has `-D dead_code`, and since rustc 1.90 more dead code got
detected in the tree, so this upstream patch fixes that. ff8b1b4112.patch
Alternative: update bootc, but I'd consider this a cleaner ZHF fix than
that.
ZHF: #457852
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch2,
|
||||||
libz,
|
libz,
|
||||||
zstd,
|
zstd,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
@@ -25,6 +26,13 @@ rustPlatform.buildRustPackage rec {
|
|||||||
hash = "sha256-TztsiC+DwD9yEAmjTuiuOi+Kf8WEYMsOVVnMKpSM3/g=";
|
hash = "sha256-TztsiC+DwD9yEAmjTuiuOi+Kf8WEYMsOVVnMKpSM3/g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/bootc-dev/bootc/commit/ff8b1b411270275c49ee512d54b27ed7a2fca112.patch";
|
||||||
|
hash = "sha256-7UKquq6ZargQUDGZk22X9Co92v8e995bL+tuAjvh/7c=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user