nixpkgs manual: split languages into separate files

There's no change in content except for amending the title of the
section to mention "frameworks", as e.g. I don't consider Qt a language,
and it's likely there will be more of similar cases in future.

To be certain, I checked diff of the generated HTMLs.
This commit is contained in:
Vladimír Čunát
2015-12-19 16:08:00 +01:00
parent af6732e503
commit ef21e5ee60
12 changed files with 1094 additions and 1051 deletions
+7 -3
View File
@@ -1,10 +1,12 @@
with import ./.. { };
with lib;
let
sources = sourceFilesBySuffices ./. [".xml"];
sources-langs = ./languages-frameworks;
in
stdenv.mkDerivation {
name = "nixpkgs-manual";
sources = sourceFilesBySuffices ./. [".xml"];
buildInputs = [ pandoc libxml2 libxslt ];
@@ -35,7 +37,9 @@ stdenv.mkDerivation {
echo "</chapter>"
} >haskell-users-guide.xml
ln -s "$sources/"*.xml .
ln -s '${sources}/'*.xml .
mkdir ./languages-frameworks
cp -s '${sources-langs}'/* ./languages-frameworks
echo ${nixpkgsVersion} > .version