From 47a1b5e57fe045cecda740ceca7aa69d16b09341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Tue, 18 May 2021 18:39:15 +0200 Subject: [PATCH] yapesdl: fix darwin build --- pkgs/misc/emulators/yapesdl/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/emulators/yapesdl/default.nix b/pkgs/misc/emulators/yapesdl/default.nix index 307068cde04..5f4b7771fb5 100644 --- a/pkgs/misc/emulators/yapesdl/default.nix +++ b/pkgs/misc/emulators/yapesdl/default.nix @@ -23,6 +23,8 @@ stdenv.mkDerivation rec { SDL2 ]; + makeFlags = [ "CC=${stdenv.cc.targetPrefix}c++" ]; + installPhase = '' runHook preInstall install --directory $out/bin $out/share/doc/$pname