diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 28e7b7d89f4b..8c6266b2672a 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -150,8 +150,8 @@ genericBuild
GNU tar.
- gzip and
- bzip2.
+ gzip, bzip2
+ and xz.
GNU Make. It has been patched to provide
nested
output that can be fed into the
@@ -341,9 +341,11 @@ It supports the following files by default:
Tar files
These can optionally be compressed using
gzip (.tar.gz,
- .tgz or .tar.Z) or
+ .tgz or .tar.Z),
bzip2 (.tar.bz2 or
- .tbz2).
+ .tbz2) or xz
+ (.tar.xz or
+ .tar.lzma).
@@ -445,9 +447,10 @@ Additional file types can be supported by setting the
The list of patches. They must be in the format
accepted by the patch command, and may
optionally be compressed using gzip
- (.gz) or bzip2
- (.bz2).
-
+ (.gz), bzip2
+ (.bz2) or xz
+ (.xz).
+
patchFlags