summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2016-12-25 01:11:07 +0000
committerNikolay Amiantov <ab@fmap.me>2016-12-26 01:35:43 +0300
commitda70d3da0f11b22eac77756b39b349215e06b2e3 (patch)
tree7aadace518d09871f19508d1fc3943421b24aaea /pkgs/development
parent2c616b04738da584d99b1db2832ed8a7a1d4bffc (diff)
downloadnixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar.gz
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar.bz2
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar.lz
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar.xz
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.tar.zst
nixlib-da70d3da0f11b22eac77756b39b349215e06b2e3.zip
SDL2: split derivation
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index 16aa4f6c2f76..f94d7051d0d9 100644
--- a/pkgs/development/libraries/SDL2/default.nix
+++ b/pkgs/development/libraries/SDL2/default.nix
@@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
     sha256 = "0jqp46mxxbh9lhpx1ih6sp93k752j2smhpc0ad0q4cb3px0famfs";
   };
 
+  outputs = [ "out" "dev" ];
+
   patches = [ ./find-headers.patch ];
 
   nativeBuildInputs = [ pkgconfig ];
@@ -61,6 +63,7 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     rm $out/lib/*.a
+    moveToOutput bin/sdl2-config "$dev"
   '';
 
   setupHook = ./setup-hook.sh;