SDL: split the dev output and fix referrers

This commit is contained in:
Vladimír Čunát
2015-10-11 16:21:43 +02:00
parent 8e381b89a1
commit 9da12a6713
20 changed files with 30 additions and 25 deletions

View File

@@ -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 {