mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
cairo: reduce bin output, and fixup a reference
This commit is contained in:
parent
f9e9c7242a
commit
436bf848b9
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
||||
sha1 = "c8da68aa66ca0855b5d0ff552766d3e8679e1d24";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "bin" "doc" ];
|
||||
outputs = [ "dev" "out" "docdev" ];
|
||||
outputBin = "dev"; # very small
|
||||
|
||||
nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty;
|
||||
|
||||
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
# Work around broken `Requires.private' that prevents Freetype
|
||||
# `-I' flags to be propagated.
|
||||
sed -i "src/cairo.pc.in" \
|
||||
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype}/include/freetype2 -I${freetype}/include|g'
|
||||
-es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype.dev}/include/freetype2 -I${freetype.dev}/include|g'
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user