3
0
Fork 0
forked from mirrors/nixpkgs

add information about git-based pkgs

This commit is contained in:
Arseniy Seroka 2015-02-23 20:14:44 +03:00
parent 2550304bb6
commit 83434becf0

View file

@ -256,6 +256,12 @@ bound to the variable name <varname>e2fsprogs</varname> in
a package named <literal>hello-svn</literal> by a package named <literal>hello-svn</literal> by
<command>nix-env</command>.</para></listitem> <command>nix-env</command>.</para></listitem>
<listitem><para>If package is fetched from git's commit then
the version part of the name <emphasis>must</emphasis> be the date of that
(fetched) commit. The date must be in <literal>"YYYY-MM-DD"</literal> format.
Also add <literal>"git"</literal> to the name - e.g.,
<literal>"pkgname-git-2014-09-23"</literal>.</para></listitem>
<listitem><para>Dashes in the package name should be preserved <listitem><para>Dashes in the package name should be preserved
in new variable names, rather than converted to underscores in new variable names, rather than converted to underscores
(which was convention up to around 2013 and most names (which was convention up to around 2013 and most names