diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml
index 4f14a0c75..073461f17 100644
--- a/doc/manual/release-notes.xml
+++ b/doc/manual/release-notes.xml
@@ -129,6 +129,22 @@ list:
   environment.
 
 
+  nix-env -i / -u: instead of
+  breaking package ties by version, break them by priority and version
+  number.  That is, if there are multiple packages with the same name,
+  then pick the package with the highest priority, and only use the
+  version if there are multiple packages with the same
+  priority.
+
+  This makes it possible to mark specific versions/variant in
+  Nixpkgs more or less desirable than others.  A typical example would
+  be a beta version of some package (e.g.,
+  gcc-4.2.0rc1) which should not be installed even
+  though it is the highest version, except when it is explicitly
+  selected (e.g., nix-env -i
+  gcc-4.2.0rc1).
+
+
   nix-env --set-flag allows
   meta attributes of installed packages to be modified.  There are
   several attributes that can be usefully modified, because they
@@ -215,7 +231,35 @@ list:
   the indentation of the surrounding expression.  It also requires
   much less escaping, since '' is less common in
   most languages than ".
+
+
+  The new command nix-store
+  --optimise reduces Nix store disk space usage by finding
+  identical files in the store and hard-linking them to each other.
+  It typically reduces the size of the store by something like
+  25-35%.
+
   
+  Allow ~/.nix-defexpr to be a
+  directory, in which case the Nix expressions in that directory are
+  combined into an attribute set, with the file names used as the
+  names of the attributes.  The command nix-env
+  --import (which set the
+  ~/.nix-defexpr symlink) is
+  removed.
+
+
+  Fixed-output derivations (like
+  fetchurl) can define the attribute
+  impureEnvVars to allow external environment
+  variables to be passed to builders.  This is used in Nixpkgs to
+  support proxy configuration, among other things.
+
+
+  nix-pull now supports
+  bzip2-compressed manifests.  This speeds up
+  channels.
+
 
 
 
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index bb9190579..9b0df9238 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -917,8 +917,8 @@ static Expr prim_toString(EvalState & state, const ATermVector & args)
 }
 
 
-/* `substr start len str' returns the substring of `str' starting at
-   character position `min(start, stringLength str)' inclusive and
+/* `substring start len str' returns the substring of `str' starting
+   at character position `min(start, stringLength str)' inclusive and
    ending at `min(start + len, stringLength str)'.  `start' must be
    non-negative. */
 static Expr prim_substring(EvalState & state, const ATermVector & args)