Commit graph

94 commits

Author SHA1 Message Date
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
Nicolas Pierron b14e107495 Doc: Fix location of thunderbird (2.x -> 3.x) expression.
svn path=/nixpkgs/trunk/; revision=28851
2011-08-27 15:29:18 +00:00
Shea Levy 4d70ba6cc9 Merge from trunk up through r28790
svn path=/nixpkgs/branches/stdenv-updates/; revision=28792
2011-08-24 19:16:43 +00:00
Shea Levy 1eb378d0c4 Document substituteAllInPlace
svn path=/nixpkgs/branches/stdenv-updates/; revision=27994
2011-07-28 20:33:20 +00:00
Eelco Dolstra 7021e6ed6e * Typo (reported by Federico D. Sacerdoti).
svn path=/nixpkgs/trunk/; revision=27112
2011-05-03 08:51:02 +00:00
Shea Levy f143784ae1 The configurePhase runs ./configure, not the unpackPhase
svn path=/nixpkgs/trunk/; revision=26655
2011-04-01 12:26:46 +00:00
Eelco Dolstra e7906f26af * Make copy-tarballs.sh work on release.nix.
svn path=/nixpkgs/trunk/; revision=19834
2010-02-05 14:14:43 +00:00
Eelco Dolstra a4984bd100 svn path=/nixpkgs/trunk/; revision=19664 2010-01-26 11:02:43 +00:00
Eelco Dolstra 84cfb9173e svn path=/nixpkgs/trunk/; revision=19663 2010-01-26 11:02:25 +00:00
Eelco Dolstra 1da5799ce4 * Release notes for Nixpkgs 0.13.
svn path=/nixpkgs/trunk/; revision=19518
2010-01-18 13:10:01 +00:00
Eelco Dolstra 35257ada4e * Updated gtk+, glib, pango.
svn path=/nixpkgs/trunk/; revision=19388
2010-01-13 12:11:06 +00:00
Eelco Dolstra 084a067288 * Added X11::GUITest.
svn path=/nixpkgs/trunk/; revision=19245
2010-01-05 22:48:22 +00:00
Eelco Dolstra eb9ff07031 * Package naming / versioning guidelines.
svn path=/nixpkgs/trunk/; revision=18433
2009-11-18 15:05:09 +00:00
Eelco Dolstra bab04acc3a svn path=/nixpkgs/trunk/; revision=18420 2009-11-18 13:58:59 +00:00
Eelco Dolstra 063f44d23c * Move classification.txt to the manual.
svn path=/nixpkgs/trunk/; revision=18419
2009-11-18 13:54:20 +00:00
Eelco Dolstra e4d5933e0a * "with args" considered harmful.
svn path=/nixpkgs/trunk/; revision=18404
2009-11-18 10:52:37 +00:00
Eelco Dolstra 3f82d6c069 svn path=/nixpkgs/branches/xorg-7.5/; revision=18032 2009-10-29 15:28:43 +00:00
Eelco Dolstra 1024251d75 svn path=/nixpkgs/branches/xorg-7.5/; revision=18028 2009-10-29 14:20:11 +00:00
Eelco Dolstra 9301524c50 * Fontconfig updated to 2.7.3. Use /etc/fonts as the default
configuration directory so that users on other distributions don't
  need to set $FONTCONFIG_FILE (NIXPKGS-29).  Also use
  /var/cache/fontconfig for the cache to prevent programs run by root
  from writing into the Nix store.

svn path=/nixpkgs/branches/xorg-7.5/; revision=18021
2009-10-29 13:22:43 +00:00