rgbds: 0.5.1 -> 0.5.2
* rgbds: 0.5.1 -> 0.5.2 (#149232) * rgbds: fix build on Darwin by disabling LTO Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
70f42a33cb
commit
ca485f4220
1 changed files with 6 additions and 4 deletions
|
@ -2,15 +2,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rgbds";
|
||||
version = "0.5.1";
|
||||
version = "0.5.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gbdev";
|
||||
repo = "rgbds";
|
||||
rev = "v${version}";
|
||||
sha256 = "11b1hg2m2f60q5622rb0nxhrzzylsxjx0c8inbxifi6lvmj9ak4x";
|
||||
sha256 = "sha256-/GjxdB3Nt+XuKKQWjU12mS91U4FFoeP+9t0L+HsB/o8=";
|
||||
};
|
||||
nativeBuildInputs = [ bison flex pkg-config libpng ];
|
||||
installFlags = [ "PREFIX=\${out}" ];
|
||||
nativeBuildInputs = [ bison flex pkg-config ];
|
||||
buildInputs = [ libpng ];
|
||||
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-fno-lto";
|
||||
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://rgbds.gbdev.io/";
|
||||
|
|
Loading…
Reference in a new issue