summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2018-05-22 13:25:09 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2018-05-22 13:25:09 -0400
commit3dd635042023fb3dfbd88cdf1a915deb42ccac6f (patch)
tree7bd909305998b79e87d67f5bf90e2f34d5519982 /doc
parentd239113bb0a2b471ea72d8a8af2331ec87d72a93 (diff)
downloadnixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar.gz
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar.bz2
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar.lz
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar.xz
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.tar.zst
nixpkgs-3dd635042023fb3dfbd88cdf1a915deb42ccac6f.zip
doc: use "with stdenv.lib" in meta
Diffstat (limited to 'doc')
-rw-r--r--doc/meta.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/meta.xml b/doc/meta.xml
index ad16e7683f5..ab6befd4381 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -8,16 +8,16 @@
   and so on. For instance, the GNU Hello package has a <varname>meta</varname>
   declaration like this:
 <programlisting>
-meta = {
+meta = with stdenv.lib; {
   description = "A program that produces a familiar, friendly greeting";
   longDescription = ''
     GNU Hello is a program that prints "Hello, world!" when you run it.
     It is fully customizable.
   '';
   homepage = http://www.gnu.org/software/hello/manual/;
-  license = stdenv.lib.licenses.gpl3Plus;
-  maintainers = [ stdenv.lib.maintainers.eelco ];
-  platforms = stdenv.lib.platforms.all;
+  license = licenses.gpl3Plus;
+  maintainers = [ maintainers.eelco ];
+  platforms = platforms.all;
 };
 </programlisting>
  </para>