summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-11 16:21:43 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:56 +0200
commit9da12a6713b100367809e53e6419a01229f5f61e (patch)
treedb3bc1db4134204a170459de0072208269818711 /pkgs/development/libraries/SDL
parent8e381b89a1fd5730b3119bdaa4acb2e61a6c2f0a (diff)
downloadnixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar.gz
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar.bz2
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar.lz
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar.xz
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.tar.zst
nixpkgs-9da12a6713b100367809e53e6419a01229f5f61e.zip
SDL: split the dev output and fix referrers
Diffstat (limited to 'pkgs/development/libraries/SDL')
-rw-r--r--pkgs/development/libraries/SDL/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL/default.nix b/pkgs/development/libraries/SDL/default.nix
index 070cf76da6d..0a1e1a3e89a 100644
--- a/pkgs/development/libraries/SDL/default.nix
+++ b/pkgs/development/libraries/SDL/default.nix
@@ -26,7 +26,8 @@ stdenv.mkDerivation rec {
     sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
   };
 
-  outputs = [ "out" "man" ];
+  outputs = [ "dev" "out" "man" ];
+  outputBin = "dev"; # sdl-config
 
   nativeBuildInputs = [ pkgconfig ];
 
@@ -64,6 +65,8 @@ stdenv.mkDerivation rec {
     sha1 = "3137feb503a89a8d606405373905b92dcf7e293b";
   }) ];
 
+  postFixup = ''_moveToOutput share/aclocal "$dev" '';
+
   crossAttrs =stdenv.lib.optionalAttrs (stdenv.cross.libc == "libSystem") {
     patches = let
       f = rev: sha256: fetchurl {