tayga: fix build with gcc14 (#368877)
This commit is contained in:
@@ -5,15 +5,20 @@
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "0.9.2";
|
||||
pname = "tayga";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.litech.org/${pname}/${pname}-${version}.tar.bz2";
|
||||
url = "http://www.litech.org/tayga/tayga-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha256-Kx95J6nS3P+Qla/zwnGSSwUsz9L6ypWIsndDGkTwAJw=";
|
||||
};
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-address-of-packed-member"
|
||||
"-Wno-implicit-function-declaration"
|
||||
];
|
||||
|
||||
passthru.tests.tayga = nixosTests.tayga;
|
||||
|
||||
meta = with lib; {
|
||||
@@ -31,4 +36,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "tayga";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user