Commit graph

112 commits

Author SHA1 Message Date
Michael Raskin e39b1f4ec8 Add a few meta-attribute descriptions; rewrite the meta-attribure list description to mean that it is expected that all used meta-attributes are described in the manual. 2014-09-03 02:10:00 +04:00
Jaka Kranjc de258456d8 meta.xml: fixed small omission 2014-08-24 16:36:46 +02:00
Eelco Dolstra 438b9c543d Nixpkgs manual: Add a Nix expression to build 2014-08-24 11:03:55 +02:00
Eelco Dolstra 14f48dd5c2 Nixpkgs manual: Drop author bla bla 2014-08-24 11:03:55 +02:00
Eelco Dolstra 76ac17d36b Nixpkgs manual: Fix validity 2014-08-24 11:03:55 +02:00
Vladimír Čunát 5cc2a142b0 doc/meta.xml: fix github links, clarify licensing section 2014-07-30 20:07:54 +02:00
Domen Kožar 64cd30518d doc: mention nix-prefetch-scripts package 2014-07-27 15:21:38 +02:00
Domen Kožar 380e8ad794 fix manual build 2014-07-27 15:21:27 +02:00
Domen Kožar 9471af0f8a doc: add section how to build the manual 2014-07-27 15:21:17 +02:00
Domen Kožar 6c219636da doc: remove obsolete step on quickstart 2014-07-27 14:58:31 +02:00
Domen Kožar 8590e39e01 doc: change one occurance of --xml to --json 2014-07-27 14:22:58 +02:00
Domen Kožar e51dfc6bf6 doc: explain when hydra builds the package 2014-07-27 14:13:27 +02:00
Domen Kožar cf5ec2f74b remove documentation on non-unfree licenses, nobody maintains it 2014-07-27 13:54:37 +02:00
Domen Kožar e3319eb73d doc: modernize meta attributes documentation 2014-07-27 13:54:37 +02:00
Eelco Dolstra 2737291b5d Manual: html -> xhtml 2014-07-03 12:37:40 +02:00
Anders Claesson 1777724a33 Fix trivial spelling mistake in docs 2014-06-13 11:11:27 +01:00
Ramakrishnan Muthukrishnan 58b58903ba doc: quick-start.xml -- fix a typo in the link.
Chapter 2, gmp 5.1.1.nix url and filename has changed in the repo
to 5.1.x.nix.
2014-04-14 11:42:01 +05:30
Ramakrishnan Muthukrishnan 13137dbb46 doc: meta.xml -- fix a typo 2014-04-14 11:29:36 +05:30
Vladimír Čunát 1f6a15d7de Merge #1901: add preFixupPhases to stdenv; for gsettings
Without this stdenv change it seems difficult to fix some glib's gsettings issues,
as the folders in question may (not) be created in installPhase.
2014-04-02 19:06:41 +02:00
Domen Kožar 5d9040ee6b Merge pull request #1815 from vcunat/p/doc-package-naming
doc: document current conventions on package naming
2014-03-04 23:41:35 +01:00
Domen Kožar 1f822d3b5f fix tarball 2014-02-28 23:22:20 +01:00
Domen Kožar 0e58538fa8 doc: gstreamer setup-hook 2014-02-28 02:02:27 +01:00
Domen Kožar 5726600c04 doc: gdk-pixbuf setup-hook 2014-02-28 01:40:21 +01:00
Vladimír Čunát 1efb6e65d2 doc: document current conventions on package naming
Mostly: encourage using dashes instead of underscores.
2014-02-23 08:00:59 +01:00
William A. Kennington III bdb842d5eb Move all db4 packages to the default db5 2014-02-15 12:03:02 +01:00
Eelco Dolstra e060d9a2ff Remove obsolete file 2014-02-05 19:18:33 +01:00
Eelco Dolstra cf4acab567 manual: Document Java support 2014-01-13 13:15:59 +01:00
Eelco Dolstra 5d6259a973 Add a setup hook that automatically sets up $CLASSPATH
All JARs in $pkg/share/java (for each $pkg in the build inputs) are
added to $CLASSPATH.  Thus, you can say

  buildInputs = [ setJavaClassPath someJavaDependency ];

and the JARs in someJavaDependency will be found automatically by
tools like javac or ant.

Note that the manual used to say that JARs should be installed in
lib/java; this is now share/java, following the Debian policy:

  http://www.debian.org/doc/packaging-manuals/java-policy/x110.html

The directory share/java makes more sense because JARs are
architecture-independent.  (Also, a quick grep shows that we were not
exactly consistent about this in Nixpkgs.)
2014-01-06 14:36:14 +01:00
Rob Vermaas 5aa6c546dc Clarify a step from the quick start section. 2013-12-30 13:45:46 +01:00
Eelco Dolstra a2cbc77e4f Only show/build a package on the platforms listed in meta.platforms
The function ‘mkDerivation’ now checks whether the current platform
type is included in a package's meta.platform field.  If not, it
throws an exception:

  $ nix-build -A linux --argstr system x86_64-darwin
  error: user-thrown exception: the package ‘linux-3.10.15’ is not supported on ‘x86_64-darwin’

These packages also no longer show up in ‘nix-env -qa’ output.  This
means, for instance, that the number of packages shown on
x86_64-freebsd has dropped from 9268 to 4764.

Since meta.platforms was also used to prevent Hydra from building some
packages, there now is a new attribute meta.hydraPlatforms listing the
platforms on which Hydra should build the package (which defaults to
meta.platforms).
2013-11-05 00:06:10 +01:00
Eelco Dolstra 754704ea18 Allow packages to be marked as "broken" by setting meta.broken
The effect is that they won't show up in "nix-env -qa" anymore.
2013-11-04 21:11:00 +01:00
Eelco Dolstra 041da5a6f9 Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
Eelco Dolstra 1ca98d7c09 Move some old docs 2013-10-01 10:53:21 +02:00
Eelco Dolstra 8a182718ca splashutils: Remove 2013-09-26 18:03:43 +02:00
Chris Van Vranken e5b89fc601 Fix broken links 2013-09-25 19:53:47 -04:00
Ivan Kozik 1866619acc Fix a few typos 2013-08-11 10:55:53 +00:00
Eelco Dolstra acba9240cd nixos.org/tarballs -> tarballs.nixos.org
It's currently the same machine, but tarballs.nixos.org should become
an S3/CloudFront site eventually.
2013-06-25 14:12:16 +02:00
Eelco Dolstra 629daa2102 Rewrite the CPAN generator to Perl
Also:

- It's now installable by doing "nix-env -i nix-generate-from-cpan".

- It maps dependencies to the correct attribute (e.g. HTML::HeadParser
  is mapped to HTMLParser).

- It automatically selects buildPerlPackage or buildPerlModule.

- It's documented in the manual.
2013-06-13 15:56:23 +02:00
Domen Kozar 9986457331 add dontBuild docs 2013-05-05 10:50:07 +02:00
Eelco Dolstra cd5755845f Lots of Perl package updates 2013-01-19 00:02:51 +01:00
Eelco Dolstra 8165e2ddb0 Document that Java packages should install JARs in $out/lib/java 2012-11-08 16:31:08 +01:00
Eelco Dolstra 18c4b2180f Fix link 2012-10-18 10:10:49 -04:00
Rob Vermaas b3c63a98f0 Remove all svn references 2012-09-04 16:14:01 +02:00
Eelco Dolstra 6a1d4504ad Fix duplicate ID 2012-06-25 11:24:05 -04:00
Eelco Dolstra 6ed8a76ac6 * Nixpkgs 0.14 release notes.
svn path=/nixpkgs/trunk/; revision=34333
2012-06-04 03:24:14 +00:00
Eelco Dolstra 09ab016c6c * Sync CSS with the Nix manual.
svn path=/nixpkgs/trunk/; revision=34062
2012-05-11 21:42:00 +00:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Peter Simons 1abdc56a12 Synchronized stdenv-updates branch with trunk.
There were conflicting patches of pkgs/os-specific/linux/module-init-tools.
Apparently, the expression was updated independently in both branches. I've
resolved the conflict by preferring the patches from stdenv-updates, because
those patches appeared to be more sophisticated, i.e. they build the manual,
etc.

svn path=/nixpkgs/branches/stdenv-updates/; revision=29680
2011-10-06 09:37:22 +00:00
Yury G. Kudryashov fa500dca25 Fix typo in release-notes
svn path=/nixpkgs/trunk/; revision=29558
2011-10-02 09:24:23 +00:00
Shea Levy 01df54f5cc Merge from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=29461
2011-09-23 16:58:45 +00:00