mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
SDL2: split derivation
This commit is contained in:
parent
2c616b0473
commit
da70d3da0f
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue