rusty-man: fix build with gcc 15 (#476855)

This commit is contained in:
Aleksana
2026-01-04 13:44:35 +00:00
committed by GitHub
+4 -3
View File
@@ -19,6 +19,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-ZIRwp5AJugMDxg3DyFIH5VlD0m4Si2tJdspKE5QEB4M=";
# Fix build with gcc 15
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
@@ -30,8 +33,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
homepage = "https://git.sr.ht/~ireas/rusty-man";
changelog = "https://git.sr.ht/~ireas/rusty-man/tree/v${finalAttrs.version}/item/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
defelo
];
maintainers = with lib.maintainers; [ defelo ];
};
})