mar1d: fix build

This commit is contained in:
wxt 2024-11-11 12:23:16 +08:00
parent c8cacce22f
commit 49fb875eee
No known key found for this signature in database
GPG Key ID: F62181757D8BF693

View File

@ -12,7 +12,7 @@
fetchpatch,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs:{
pname = "MAR1D";
version = "unstable-2023-02-02";
@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
owner = "Radvendii";
};
env = {
NIXPKGS_CFLAGS_COMPILE = toString [
"-Wno-error=array-parameter"
];
};
nativeBuildInputs = [
meson
ninja
@ -45,7 +51,7 @@ stdenv.mkDerivation rec {
})
];
meta = with lib; {
meta = {
description = "First person Super Mario Bros";
mainProgram = "MAR1D";
longDescription = ''
@ -55,8 +61,8 @@ stdenv.mkDerivation rec {
You must view the world as mario does, as a one dimensional line.
'';
homepage = "https://mar1d.com";
license = licenses.agpl3Only;
maintainers = with maintainers; [ taeer ];
platforms = platforms.unix;
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ taeer ];
platforms = lib.platforms.unix;
};
}
})