Skip to content

Commit

Permalink
mar1d: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Nov 11, 2024
1 parent c8cacce commit 49fb875
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions pkgs/by-name/ma/mar1d/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
fetchpatch,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs:{
pname = "MAR1D";
version = "unstable-2023-02-02";

Expand All @@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
owner = "Radvendii";
};

env = {
NIXPKGS_CFLAGS_COMPILE = toString [
"-Wno-error=array-parameter"
];
};

nativeBuildInputs = [
meson
ninja
Expand All @@ -45,7 +51,7 @@ stdenv.mkDerivation rec {
})
];

meta = with lib; {
meta = {
description = "First person Super Mario Bros";
mainProgram = "MAR1D";
longDescription = ''
Expand All @@ -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;
};
}
})

0 comments on commit 49fb875

Please sign in to comment.