pythonDocs: recurseIntoAttrs does not recurse, bypass problem

This commit is contained in:
Florian Friesdorf 2013-03-13 13:09:58 +01:00
parent 15e1daf0c3
commit 94f2013c0c
2 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,7 @@
let let
pythonDocs = { pythonDocs = {
html = { html = {
recurseForDerivations = true;
python33 = import ./3.3-html.nix { python33 = import ./3.3-html.nix {
inherit stdenv fetchurl lib; inherit stdenv fetchurl lib;
}; };
@ -23,6 +24,7 @@ pythonDocs = {
}; };
}; };
pdf_a4 = { pdf_a4 = {
recurseForDerivations = true;
python33 = import ./3.3-pdf-a4.nix { python33 = import ./3.3-pdf-a4.nix {
inherit stdenv fetchurl lib; inherit stdenv fetchurl lib;
}; };
@ -43,6 +45,7 @@ pythonDocs = {
}; };
}; };
pdf_letter = { pdf_letter = {
recurseForDerivations = true;
python33 = import ./3.3-pdf-letter.nix { python33 = import ./3.3-pdf-letter.nix {
inherit stdenv fetchurl lib; inherit stdenv fetchurl lib;
}; };
@ -63,6 +66,7 @@ pythonDocs = {
}; };
}; };
text = { text = {
recurseForDerivations = true;
python33 = import ./3.3-text.nix { python33 = import ./3.3-text.nix {
inherit stdenv fetchurl lib; inherit stdenv fetchurl lib;
}; };

View File

@ -16,7 +16,11 @@ pythonDocs = {
EOF EOF
for type in $TYPES; do for type in $TYPES; do
echo " ${type/-/_} = {" >> default.nix cat >>default.nix <<EOF
${type/-/_} = {
recurseForDerivations = true;
EOF
for version in $VERSIONS; do for version in $VERSIONS; do
major=$(echo -n ${version}| cut -d. -f1) major=$(echo -n ${version}| cut -d. -f1)
minor=$(echo -n ${version}| cut -d. -f2) minor=$(echo -n ${version}| cut -d. -f2)