git.iko.soy/typeable/nixpkgs
on master help sign in
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>

commitca485f4220237e8ab25a328c94d95474c2692e4d authorR. RyanTM <ryantm-bot@ryantm.com> dateMon 3 Jan 2022, 02:28 (5 years ago) parent70f42a3
1 file changed+6−4
pkgs/development/compilers/rgbds/default.nix+6−4
pkgs/development/compilers/rgbds/default.nix+6−4
@@ -2,15 +2,17 @@
22
33stdenv.mkDerivation rec {
44 pname = "rgbds";
5− version = "0.5.1";
5+ version = "0.5.2";
66 src = fetchFromGitHub {
77 owner = "gbdev";
88 repo = "rgbds";
99 rev = "v${version}";
10− sha256 = "11b1hg2m2f60q5622rb0nxhrzzylsxjx0c8inbxifi6lvmj9ak4x";
10+ sha256 = "sha256-/GjxdB3Nt+XuKKQWjU12mS91U4FFoeP+9t0L+HsB/o8=";
1111 };
12− nativeBuildInputs = [ bison flex pkg-config libpng ];
13− installFlags = [ "PREFIX=\${out}" ];
12+ nativeBuildInputs = [ bison flex pkg-config ];
13+ buildInputs = [ libpng ];
14+ NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-fno-lto";
15+ installFlags = [ "PREFIX=${placeholder "out"}" ];
1416
1517 meta = with lib; {
1618 homepage = "https://rgbds.gbdev.io/";