Skip to content

Commit

Permalink
drl: try adding Libsystem dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys-T committed Oct 30, 2024
1 parent 424794e commit be23f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/drl/unwrapped.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
export FPCVALKYRIE_ROOT="$PWD/fpcvalkyrie/"
'';
nativeBuildInputs = [lua5_1 fpc];
buildInputs = [lua5_1 SDL2 SDL2_image SDL2_mixer SDL2_ttf ncurses];
buildInputs = [lua5_1 SDL2 SDL2_image SDL2_mixer SDL2_ttf ncurses] ++ lib.optionals stdenv.isDarwin [darwin.apple_sdk.Libsystem];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin (lib.concatMapStringsSep " " (f: "-F${f}/Library/Frameworks") (with darwin.apple_sdk.frameworks; [CoreFoundation Cocoa]));
env.NIX_DEBUG = 7;
Expand Down

0 comments on commit be23f4b

Please sign in to comment.