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>
main
R. RyanTM 2 years ago committed by GitHub
parent 70f42a33cb
commit ca485f4220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      pkgs/development/compilers/rgbds/default.nix

@ -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…
Cancel
Save