Commit Graph

348 Commits

Author SHA1 Message Date
Eelco Dolstra
7b9d03d596 * strictAttrs: return the original attribute set.
svn path=/nixpkgs/trunk/; revision=23252
2010-08-19 15:13:09 +00:00
Eelco Dolstra
1ac9dcd24d * Fix eval-release.nix by testing whether all attributes of a
derivation evaluate inside the tryEval.  This catches cases such as
  aufs2-util, which fails due to an assertion in its dependency aufs2.
* Explicitly blacklist "xbursttools" because it gives some
  evaluation error in cross-OpenSSL.  No idea why, probably due to
  some pass-through attribute.

svn path=/nixpkgs/trunk/; revision=23247
2010-08-19 12:37:10 +00:00
Michael Raskin
ab8a599e8c Adding a script to use eval-release.nix for tests
svn path=/nixpkgs/trunk/; revision=23234
2010-08-18 16:37:46 +00:00
Lluís Batlle i Rossell
5417c720fd Merging from trunk.
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
2010-08-02 15:48:19 +00:00
Ludovic Courtès
227c0d768e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=22468
2010-07-04 21:11:31 +00:00
Ludovic Courtès
5808f1a0ca gnupdate: Remove obsolete workaround.
* maintainers/scripts/gnu/gnupdate: Remove `(sxml ssax) workaround for
  macro-generating macros.

svn path=/nixpkgs/trunk/; revision=22467
2010-07-04 21:11:27 +00:00
Ludovic Courtès
c83cb10f2b gnupdate: Turn into a module.
* maintainers/scripts/gnu/gnupdate.scm: Rename to...
* maintainers/scripts/gnu/gnupdate: ... this.  Use `define-module' and
  the orthodox way of doing things.
  (main): Rename to...
  (gnupdate): ... this.

svn path=/nixpkgs/trunk/; revision=22466
2010-07-04 21:11:19 +00:00
Ludovic Courtès
c05efc563c gnupdate: Add quirk for GRUB 2.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory): Add quirk
  for GRUB 2.

svn path=/nixpkgs/trunk/; revision=22455
2010-07-04 21:10:22 +00:00
Ludovic Courtès
f740342ade gnupdate: Remove unused variables.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Don't bind unused fields
  in `match'.
  (ftp-server/directory): Ditto.

svn path=/nixpkgs/trunk/; revision=22454
2010-07-04 21:10:17 +00:00
Ludovic Courtès
073c01503a gnupdate: Add --select', to select packages stdenv' depends on (or not).
* maintainers/scripts/gnu/gnupdate.scm (attribute-value,
  derivation-source, derivation-output-path, source-output-path,
  derivation-source-output-path, find-attribute-by-name,
  find-package-by-attribute-name, stdenv-package, package-requisites):
  New procedures.
  (%options): Add `--select'.
  (main): Compute the source output paths of `stdenv'.  Filter out
  packages that are/aren't in `stdenv', depending on the `--select'
  option.

svn path=/nixpkgs/trunk/; revision=22453
2010-07-04 21:10:13 +00:00
Ludovic Courtès
65b175a2f1 gnupdate: Ignore the "gcc44" and "gcc45" attributes.
* maintainers/scripts/gnu/gnupdate.scm (%ignored-package-attributes):
  Add "gcc44" and "gcc45".

svn path=/nixpkgs/trunk/; revision=22452
2010-07-04 21:10:08 +00:00
Ludovic Courtès
0b33aa7abb GNUpdate: Update to the new module name.
svn path=/nixpkgs/trunk/; revision=22214
2010-06-10 21:52:23 +00:00
Ludovic Courtès
5f7d5aa2bf gnupdate: Remove unneeded file.
* maintainers/scripts/gnu/sxml-match.scm: Remove.

svn path=/nixpkgs/trunk/; revision=22075
2010-06-01 10:13:17 +00:00
Ludovic Courtès
3b9cee4638 gnupdate: Fix unbound-variable in `%ftp-login'.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): Bind `command' to
  the command.

svn path=/nixpkgs/trunk/; revision=21742
2010-05-12 12:22:40 +00:00
Ludovic Courtès
b43b098513 gnupdate: Re-fix thinko.
svn path=/nixpkgs/trunk/; revision=21717
2010-05-10 21:26:57 +00:00
Ludovic Courtès
5583d516d2 gnupdate: Add `--dry-run' option.
* maintainers/scripts/gnu/gnupdate.scm (%options): Add `dry-run'.
  (main): Handle `--dry-run'.

svn path=/nixpkgs/trunk/; revision=21716
2010-05-10 21:26:53 +00:00
Ludovic Courtès
5dd1036a04 gnupdate: Add optional directory argument to `ftp-list'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-list): Add optional
  DIRECTORY argument.
  (releases): Pass DIRECTORY to `ftp-list'.

svn path=/nixpkgs/trunk/; revision=21715
2010-05-10 21:26:48 +00:00
Ludovic Courtès
d8c33c1820 gnupdate: Handle FTP logins with password.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): New procedure.
  (ftp-open): Use it.

svn path=/nixpkgs/trunk/; revision=21714
2010-05-10 21:26:43 +00:00
Ludovic Courtès
fd9d4a5747 gnupdate: Add quirk for MIT/GNU Scheme.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `mit-scheme'.
  (nixpkgs->gnu-name)[quirks]: Ditto.

svn path=/nixpkgs/trunk/; revision=21711
2010-05-10 14:30:55 +00:00
Ludovic Courtès
fbb4886d49 gnupdate: Fix typo in the GNU predicate.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Fix typo analyzing
  `meta.homepage'.

svn path=/nixpkgs/trunk/; revision=21706
2010-05-10 14:30:35 +00:00
Ludovic Courtès
e4fecd6b8e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21703
2010-05-10 12:33:58 +00:00
Ludovic Courtès
7e4f5567d4 gnupdate: Add quirk for `commoncpp2'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `commoncpp2'.

svn path=/nixpkgs/trunk/; revision=21700
2010-05-09 23:14:55 +00:00
Ludovic Courtès
11d4a76c27 gnupdate: Use SSAX instead of SXML to reduce the memory & CPU overhead.
* maintainers/scripts/gnu/gnupdate.scm (xml-element->snix): New
  procedure.
  (xml->snix): Rewrite to use a parser generated by `ssax:make-parser'.
  (%options)[sxml]: Remove.
  (main): Update accordingly.

svn path=/nixpkgs/trunk/; revision=21695
2010-05-09 23:14:29 +00:00
Ludovic Courtès
f226c85249 gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21049
2010-04-13 08:56:00 +00:00
Ludovic Courtès
d41df5eb06 Add GNU package update script.
svn path=/nixpkgs/trunk/; revision=21040
2010-04-12 23:02:36 +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
Nicolas Pierron
00efa9c2dd * Add a script to retrieve licenses of the current derivation and of all
its dependencies.  To make it works, you need to change the default
  stdenv as documented in the error message.

	./maintainers/scripts/dep-licenses.sh <attribute name>

svn path=/nixpkgs/trunk/; revision=18508
2009-11-21 17:50:00 +00:00
Nicolas Pierron
342de508d4 Add a script to check the number of packages to rebuild after a modification.
svn path=/nixpkgs/trunk/; revision=17731
2009-10-08 19:00:48 +00:00
Nicolas Pierron
96b1952439 Fix hard-coded value to access gcc libraries.
svn path=/nixpkgs/trunk/; revision=17093
2009-09-13 16:08:55 +00:00
Nicolas Pierron
e84c0eca1f Add a script which generates patchelf command for binary distribution.
This script use your local Nix store to find occurences of similar libraries
name and generate a patchelf command based on the package name found inside
your Nix store.

svn path=/nixpkgs/trunk/; revision=17089
2009-09-13 13:44:58 +00:00
Eelco Dolstra
ecd43e2bfe * Updated the script that copies tarballs used in Nixpkgs to
nixos.org/tarballs.  It no longer greps the source for fetchurl
  calls, because a lot of URLs are now computed
  (e.g. "http://foo/${name}.tar.bz2").  So instead we evaluate the Nix
  expression with "nix-instantiate --xml --strict" and look for URLs
  in the result.  Because I'm lazy the script no longer checks whether
  the hash of the download matches the hash in the expression.

svn path=/nixpkgs/trunk/; revision=15310
2009-04-25 18:34:11 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
ea9667ab18 * Fixed some more URLs.
svn path=/nixpkgs/trunk/; revision=9294
2007-09-11 11:15:37 +00:00
Eelco Dolstra
8b4a66c242 * When copying tarballs to nix.cs.uu.nl, don't rewrite the URLs in the
Nix expressions anymore.  The content-addressable mirror mechanism
  in fetchurl makes it unnecessary.

svn path=/nixpkgs/trunk/; revision=9289
2007-09-10 22:47:22 +00:00
Eelco Dolstra
98be355b2a * Handle SHA-256 hashes.
svn path=/nixpkgs/trunk/; revision=8702
2007-05-15 13:33:14 +00:00
Eelco Dolstra
7ee6cf21ea * Don't sort the helper function sections.
svn path=/nixpkgs/trunk/; revision=6763
2006-10-18 14:04:41 +00:00
Eelco Dolstra
8c0c0b2ad8 * If the file already exists in dist/tarballs, check that the hashes match.
svn path=/nixpkgs/trunk/; revision=6719
2006-10-12 15:59:15 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
25b6e47c84 * Keep a single empty line after comments.
svn path=/nixpkgs/trunk/; revision=6534
2006-09-15 15:14:50 +00:00
Eelco Dolstra
0dc7b90c20 * Float section headers to the top. Regularise whitespace between
attributes.

svn path=/nixpkgs/trunk/; revision=6533
2006-09-15 14:40:11 +00:00
Eelco Dolstra
abccd47cf5 * Use is-substring.
svn path=/nixpkgs/trunk/; revision=6532
2006-09-15 12:36:54 +00:00
Eelco Dolstra
4b249f3b6f * Support grouping of attributes into sections by using "###"
comments.

svn path=/nixpkgs/trunk/; revision=6493
2006-09-11 16:18:07 +00:00
Eelco Dolstra
811910342a * Program to sort all-packages.nix, first attempt.
svn path=/nixpkgs/trunk/; revision=6492
2006-09-11 14:33:32 +00:00
Eelco Dolstra
588383905a * Download and unpack Visual C++ 2005 Express Edition.
svn path=/nixpkgs/trunk/; revision=5383
2006-06-05 19:26:11 +00:00
Eelco Dolstra
816cb77889 * Updated URL.
svn path=/nixpkgs/trunk/; revision=4626
2006-01-30 16:20:35 +00:00
Eelco Dolstra
7775caaa35 * Evacuate tarballs.
svn path=/nixpkgs/trunk/; revision=2527
2005-04-11 13:09:01 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
c5ee6019d8 * Move stuff.
* Added a NEWS file.

svn path=/nixpkgs/trunk/; revision=2259
2005-02-21 16:05:33 +00:00