Skip to content

Commit

Permalink
SDL2: split derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
lheckemann authored and abbradar committed Dec 25, 2016
1 parent 2c616b0 commit da70d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/SDL2/default.nix
Expand Up @@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
sha256 = "0jqp46mxxbh9lhpx1ih6sp93k752j2smhpc0ad0q4cb3px0famfs";
};

outputs = [ "out" "dev" ];

patches = [ ./find-headers.patch ];

nativeBuildInputs = [ pkgconfig ];
Expand Down Expand Up @@ -61,6 +63,7 @@ stdenv.mkDerivation rec {

postInstall = ''
rm $out/lib/*.a
moveToOutput bin/sdl2-config "$dev"
'';

setupHook = ./setup-hook.sh;
Expand Down

0 comments on commit da70d3d

Please sign in to comment.