fontconfig: split into multiple outputs
Fixed all 'fontconfig}' references as well, hopefully, ugh!
This commit is contained in:
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "dev" "lib" "bin" "out" ]; # $out contains all the config
|
||||
|
||||
propagatedBuildInputs = [ freetype ];
|
||||
buildInputs = [ pkgconfig expat ];
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ runCommand "fonts.conf"
|
||||
}
|
||||
''
|
||||
xsltproc --stringparam fontDirectories "$fontDirectories" \
|
||||
--stringparam fontconfig "${fontconfig}" \
|
||||
--stringparam fontconfig "${fontconfig.out}" \
|
||||
--stringparam fontconfigConfigVersion "${fontconfig.configVersion}" \
|
||||
--path ${fontconfig}/share/xml/fontconfig \
|
||||
${./make-fonts-conf.xsl} ${fontconfig}/etc/fonts/fonts.conf \
|
||||
--path ${fontconfig.out}/share/xml/fontconfig \
|
||||
${./make-fonts-conf.xsl} ${fontconfig.out}/etc/fonts/fonts.conf \
|
||||
> $out
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user