diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2013-03-13 13:09:58 +0100 |
---|---|---|
committer | Florian Friesdorf <flo@chaoflow.net> | 2013-03-13 13:16:03 +0100 |
commit | 94f2013c0cc006cec80f42b8d956f6022db571a2 (patch) | |
tree | 35af9297f1cf4b8bfed21b97b12d95aa3bcbdc50 /pkgs/development/interpreters/python | |
parent | 15e1daf0c32495908442110cea09f7265e73abfb (diff) | |
download | nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar.gz nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar.bz2 nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar.lz nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar.xz nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.tar.zst nixlib-94f2013c0cc006cec80f42b8d956f6022db571a2.zip |
pythonDocs: recurseIntoAttrs does not recurse, bypass problem
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r-- | pkgs/development/interpreters/python/docs/default.nix | 4 | ||||
-rwxr-xr-x | pkgs/development/interpreters/python/docs/generate.sh | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/docs/default.nix b/pkgs/development/interpreters/python/docs/default.nix index 7e3ff6abbe93..16ade3af3f95 100644 --- a/pkgs/development/interpreters/python/docs/default.nix +++ b/pkgs/development/interpreters/python/docs/default.nix @@ -3,6 +3,7 @@ let pythonDocs = { html = { + recurseForDerivations = true; python33 = import ./3.3-html.nix { inherit stdenv fetchurl lib; }; @@ -23,6 +24,7 @@ pythonDocs = { }; }; pdf_a4 = { + recurseForDerivations = true; python33 = import ./3.3-pdf-a4.nix { inherit stdenv fetchurl lib; }; @@ -43,6 +45,7 @@ pythonDocs = { }; }; pdf_letter = { + recurseForDerivations = true; python33 = import ./3.3-pdf-letter.nix { inherit stdenv fetchurl lib; }; @@ -63,6 +66,7 @@ pythonDocs = { }; }; text = { + recurseForDerivations = true; python33 = import ./3.3-text.nix { inherit stdenv fetchurl lib; }; diff --git a/pkgs/development/interpreters/python/docs/generate.sh b/pkgs/development/interpreters/python/docs/generate.sh index 554bf79e3344..bebefc10ccd0 100755 --- a/pkgs/development/interpreters/python/docs/generate.sh +++ b/pkgs/development/interpreters/python/docs/generate.sh @@ -16,7 +16,11 @@ pythonDocs = { EOF for type in $TYPES; do - echo " ${type/-/_} = {" >> default.nix + cat >>default.nix <<EOF + ${type/-/_} = { + recurseForDerivations = true; +EOF + for version in $VERSIONS; do major=$(echo -n ${version}| cut -d. -f1) minor=$(echo -n ${version}| cut -d. -f2) |