* More release notes.
This commit is contained in:
parent
b5ddcf58ad
commit
dedd62dd0c
2 changed files with 46 additions and 2 deletions
|
@ -129,6 +129,22 @@ list:</para>
|
||||||
environment.</para></listitem>
|
environment.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
|
<listitem><para><command>nix-env -i / -u</command>: 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.</para>
|
||||||
|
|
||||||
|
<para>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.,
|
||||||
|
<literal>gcc-4.2.0rc1</literal>) which should not be installed even
|
||||||
|
though it is the highest version, except when it is explicitly
|
||||||
|
selected (e.g., <literal>nix-env -i
|
||||||
|
gcc-4.2.0rc1</literal>).</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
<listitem><para><command>nix-env --set-flag</command> allows
|
<listitem><para><command>nix-env --set-flag</command> allows
|
||||||
meta attributes of installed packages to be modified. There are
|
meta attributes of installed packages to be modified. There are
|
||||||
several attributes that can be usefully modified, because they
|
several attributes that can be usefully modified, because they
|
||||||
|
@ -217,6 +233,34 @@ list:</para>
|
||||||
most languages than <literal>"</literal>.</para></listitem>
|
most languages than <literal>"</literal>.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
|
<listitem><para>The new command <command>nix-store
|
||||||
|
--optimise</command> 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%.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
|
<listitem><para>Allow <filename>~/.nix-defexpr</filename> 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 <command>nix-env
|
||||||
|
--import</command> (which set the
|
||||||
|
<filename>~/.nix-defexpr</filename> symlink) is
|
||||||
|
removed.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
|
<listitem><para>Fixed-output derivations (like
|
||||||
|
<function>fetchurl</function>) can define the attribute
|
||||||
|
<varname>impureEnvVars</varname> to allow external environment
|
||||||
|
variables to be passed to builders. This is used in Nixpkgs to
|
||||||
|
support proxy configuration, among other things.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
|
<listitem><para><command>nix-pull</command> now supports
|
||||||
|
bzip2-compressed manifests. This speeds up
|
||||||
|
channels.</para></listitem>
|
||||||
|
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -917,8 +917,8 @@ static Expr prim_toString(EvalState & state, const ATermVector & args)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* `substr start len str' returns the substring of `str' starting at
|
/* `substring start len str' returns the substring of `str' starting
|
||||||
character position `min(start, stringLength str)' inclusive and
|
at character position `min(start, stringLength str)' inclusive and
|
||||||
ending at `min(start + len, stringLength str)'. `start' must be
|
ending at `min(start + len, stringLength str)'. `start' must be
|
||||||
non-negative. */
|
non-negative. */
|
||||||
static Expr prim_substring(EvalState & state, const ATermVector & args)
|
static Expr prim_substring(EvalState & state, const ATermVector & args)
|
||||||
|
|
Loading…
Reference in a new issue