summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2_ttf
diff options
context:
space:
mode:
authorMitsuhiro Nakamura <m.nacamura@gmail.com>2018-01-21 06:57:44 +0900
committerMitsuhiro Nakamura <m.nacamura@gmail.com>2018-01-21 06:57:44 +0900
commitbd57ec3870aedd8ab3df131bb1518c40ebc6c77a (patch)
tree5f1bc2b199b6831263e190a2c7a786e73351bfc6 /pkgs/development/libraries/SDL2_ttf
parent4014b24ca167a087384b0ccbed88df4538dcc577 (diff)
downloadnixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar.gz
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar.bz2
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar.lz
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar.xz
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.tar.zst
nixpkgs-bd57ec3870aedd8ab3df131bb1518c40ebc6c77a.zip
SDL2_{gfx,mixer,net,ttf}: move libobjc to buildInputs
Diffstat (limited to 'pkgs/development/libraries/SDL2_ttf')
-rw-r--r--pkgs/development/libraries/SDL2_ttf/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/libraries/SDL2_ttf/default.nix b/pkgs/development/libraries/SDL2_ttf/default.nix
index d691d6dfa1d..87436119ef4 100644
--- a/pkgs/development/libraries/SDL2_ttf/default.nix
+++ b/pkgs/development/libraries/SDL2_ttf/default.nix
@@ -9,9 +9,8 @@ stdenv.mkDerivation rec {
     sha256 = "0xljwcpvd2knrjdfag5b257xqayplz55mqlszrqp0kpnphh5xnrl";
   };
 
-  nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
-
-  buildInputs = [ SDL2 freetype mesa_noglu ];
+  buildInputs = [ SDL2 freetype mesa_noglu ]
+    ++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
 
   meta = with stdenv.lib; {
     description = "SDL TrueType library";