Commit graph

2593 commits

Author SHA1 Message Date
Eelco Dolstra
2256eddad0 * wxHaskell: use the latest version from the Darcs repo.
svn path=/nixpkgs/trunk/; revision=7792
2007-01-24 14:28:50 +00:00
Eelco Dolstra
6f0ba86b97 * Darcs 1.0.9rc2.
svn path=/nixpkgs/trunk/; revision=7791
2007-01-24 14:27:10 +00:00
Eelco Dolstra
279c1e343e * ghc-pkg wrapper: remove --global; it's not needed and it causes
problems (e.g., with ghc-pkg -s PKGNAME).

svn path=/nixpkgs/trunk/; revision=7790
2007-01-24 14:26:50 +00:00
Eelco Dolstra
1b290bdb24 * Make GHC 6.6 the default.
svn path=/nixpkgs/trunk/; revision=7789
2007-01-24 14:26:16 +00:00
Eelco Dolstra
7863e1a2be * Latest unstable Nix.
svn path=/nixpkgs/trunk/; revision=7785
2007-01-23 19:09:13 +00:00
Eelco Dolstra
3ab1768aff * Valgrind 3.2.2.
svn path=/nixpkgs/trunk/; revision=7784
2007-01-23 17:29:11 +00:00
Mart Kolthof
f201344599 Fixed typo.
svn path=/nixpkgs/trunk/; revision=7778
2007-01-23 16:03:11 +00:00
Eelco Dolstra
def1bec4cd * Fix e2fsprogs on dietlibc on i686-linux.
svn path=/nixpkgs/trunk/; revision=7772
2007-01-23 13:52:34 +00:00
Mart Kolthof
66706c592e Altered download location to sourceforge.
svn path=/nixpkgs/trunk/; revision=7769
2007-01-23 13:29:11 +00:00
Eelco Dolstra
8b2f183a7f * Build pwdutils with libnscd to keep the cache in sync after adding
users etc.

svn path=/nixpkgs/trunk/; revision=7762
2007-01-23 10:01:16 +00:00
Eelco Dolstra
603d051a39 * Use a pure Perl on all Linux platforms.
svn path=/nixpkgs/trunk/; revision=7761
2007-01-23 09:55:25 +00:00
Eelco Dolstra
44a1817bef * Some hackery to get e2fsprogs to build on x86_64 with dietlibc.
svn path=/nixpkgs/trunk/; revision=7758
2007-01-22 22:10:14 +00:00
Eelco Dolstra
1c4dd40460 * Grub requires a 32-bit Glibc. So use the i686-linux Grub on
x86_64.  (This fails to build unless Nix knows an i686-linux machine
  or it can get the Grub binary from a channel.)  Very nasty.

svn path=/nixpkgs/trunk/; revision=7757
2007-01-22 19:57:12 +00:00
Eelco Dolstra
c219e77af7 * Syslinux updated to 3.31.
* Some uber-ugly hacks to get it to build on x86_64 with a non-32-bit
  enabled GCC.

svn path=/nixpkgs/trunk/; revision=7756
2007-01-22 19:14:50 +00:00
Eelco Dolstra
6223d7e219 * Add the Microsoft Core Fonts.
svn path=/nixpkgs/trunk/; revision=7754
2007-01-22 17:39:14 +00:00
Eelco Dolstra
b3b1daf131 * Add Bitstream Vera.
svn path=/nixpkgs/trunk/; revision=7751
2007-01-22 17:11:08 +00:00
Eelco Dolstra
e8de94e114 * Kernel patches should declare their .config options so that we don't
have to keep them in config-blahblah.

svn path=/nixpkgs/trunk/; revision=7747
2007-01-22 15:18:30 +00:00
Eelco Dolstra
e67a0ca213 * Let JRE provide its Mozilla plugin.
svn path=/nixpkgs/trunk/; revision=7746
2007-01-22 15:17:13 +00:00
Eelco Dolstra
a86e3bbf54 * Rebuilt the bootstrap binaries, mostly to fix curl (DNS resolution
in dietlibc was broken).

svn path=/nixpkgs/trunk/; revision=7745
2007-01-22 15:08:16 +00:00
Eelco Dolstra
f320c2c12e * DNS resolution in dietlibc failed randomly on 64-bit platforms.
Patch backported from dietlibc CVS.

svn path=/nixpkgs/trunk/; revision=7743
2007-01-22 14:38:18 +00:00
Eelco Dolstra
a7878ba0a7 * Doh.
svn path=/nixpkgs/trunk/; revision=7741
2007-01-22 13:34:08 +00:00
Eelco Dolstra
b737f2c806 * Forgot to bump the version number.
svn path=/nixpkgs/trunk/; revision=7740
2007-01-22 13:33:49 +00:00
Eelco Dolstra
b9fb6e737b * Kernel configuration for x86_64.
svn path=/nixpkgs/trunk/; revision=7739
2007-01-22 11:22:14 +00:00
Eelco Dolstra
39c7944803 * Build an SMP kernel.
svn path=/nixpkgs/trunk/; revision=7738
2007-01-22 11:08:30 +00:00
Eelco Dolstra
2fccf41b94 * Put the platform in the config file name.
svn path=/nixpkgs/trunk/; revision=7737
2007-01-22 11:05:17 +00:00
Eelco Dolstra
8db4c2d806 * Obsolete.
svn path=/nixpkgs/trunk/; revision=7736
2007-01-22 10:01:21 +00:00
Armijn Hemel
1b66497147 update -> 0.4. After 12 years this package has been updated twice in the last few months. Wow.
svn path=/nixpkgs/trunk/; revision=7731
2007-01-19 23:00:45 +00:00
Eelco Dolstra
aa0918867b * Get some TTF fonts to work. Must merge with the generator.
svn path=/nixpkgs/trunk/; revision=7708
2007-01-17 17:18:14 +00:00
Eelco Dolstra
a71003612b * Merge SUSE's coreutils-5.0-pam-env.patch so that PAM modules can
pass environment variables (notably DISPLAY and XAUTHORITY) to the
  child shell.

svn path=/nixpkgs/trunk/; revision=7701
2007-01-16 22:24:03 +00:00
Armijn Hemel
4d2519baad upgrade to 0.96
svn path=/nixpkgs/trunk/; revision=7700
2007-01-16 22:10:29 +00:00
Eelco Dolstra
936ba36b3a * Added tcpdump.
svn path=/nixpkgs/trunk/; revision=7697
2007-01-16 14:35:08 +00:00
Eelco Dolstra
941acbc53f * libpcap 0.9.5. Also fix an impurity in configure (it looks for
/usr/include/blablah/socket.h to determine which packet interface to
  build).

svn path=/nixpkgs/trunk/; revision=7696
2007-01-16 14:30:38 +00:00
Eelco Dolstra
617abe91e8 * Latest unstable Nix.
svn path=/nixpkgs/trunk/; revision=7695
2007-01-16 14:11:20 +00:00
Eelco Dolstra
0cf2b35d99 * LDAP NSS module for glibc.
svn path=/nixpkgs/trunk/; revision=7682
2007-01-15 16:42:04 +00:00
Eelco Dolstra
6eaa664a97 * Latest unstable Nix.
svn path=/nixpkgs/trunk/; revision=7670
2007-01-15 11:57:24 +00:00
Eelco Dolstra
e18bd5af62 * Move cleanSource to lib.
svn path=/nixpkgs/trunk/; revision=7668
2007-01-15 09:20:18 +00:00
Eelco Dolstra
a6338f1f34 * Security fix.
svn path=/nixpkgs/trunk/; revision=7665
2007-01-14 18:25:26 +00:00
Eelco Dolstra
19d6b9a1a4 * Bittorrent 5.0.4.
svn path=/nixpkgs/trunk/; revision=7660
2007-01-14 13:13:22 +00:00
Armijn Hemel
db04605858 add p0f passive os fingerprinting tool. Needs wrapper to work correctly, TBD
svn path=/nixpkgs/trunk/; revision=7647
2007-01-13 02:37:24 +00:00
Armijn Hemel
a6f0fe9914 upgrade to 2.0.2
svn path=/nixpkgs/trunk/; revision=7644
2007-01-11 23:19:57 +00:00
Eelco Dolstra
f9e46f6c54 * Add SWIG to the channel.
svn path=/nixpkgs/trunk/; revision=7643
2007-01-11 23:02:20 +00:00
Eelco Dolstra
1c2ae9cb76 * Add su to the channel.
svn path=/nixpkgs/trunk/; revision=7642
2007-01-11 23:01:44 +00:00
Eelco Dolstra
f866d0c0bd * Added openldap and pam_ldap.
svn path=/nixpkgs/trunk/; revision=7641
2007-01-11 21:55:29 +00:00
Eelco Dolstra
4cb58da8e6 * Add a working PAM-enabled su.
svn path=/nixpkgs/trunk/; revision=7633
2007-01-11 15:22:59 +00:00
Eelco Dolstra
7bc63c5312 * Apache 2.2.4.
svn path=/nixpkgs/trunk/; revision=7632
2007-01-11 12:41:35 +00:00
Eelco Dolstra
b56bc4eda5 * Add some NixOS stuff to the channel.
svn path=/nixpkgs/trunk/; revision=7628
2007-01-10 21:47:17 +00:00
Eelco Dolstra
067f450909 * Added mdadm (raidtools replacement).
svn path=/nixpkgs/trunk/; revision=7627
2007-01-10 21:47:03 +00:00
Eelco Dolstra
2f7c9b8fe2 * Added cron.
svn path=/nixpkgs/trunk/; revision=7618
2007-01-10 15:44:58 +00:00
Eelco Dolstra
c240a4774d * ensureDir: allow multiple directories.
* Eval $unpackCmd.

svn path=/nixpkgs/trunk/; revision=7617
2007-01-10 15:44:44 +00:00
Eelco Dolstra
8ee3d8c97a * Doh.
svn path=/nixpkgs/trunk/; revision=7593
2007-01-09 21:13:31 +00:00
Eelco Dolstra
508a0bb329 * Just call it "man".
svn path=/nixpkgs/trunk/; revision=7590
2007-01-09 17:24:58 +00:00
Eelco Dolstra
1d468f451e * Search in "share/man" relative to each path in $PATH (in addition to "man").
svn path=/nixpkgs/trunk/; revision=7589
2007-01-09 17:09:44 +00:00
Eelco Dolstra
e28b109fc4 * Don't install setuid.
svn path=/nixpkgs/trunk/; revision=7588
2007-01-09 16:57:07 +00:00
Eelco Dolstra
b0950cab80 * A function `elem' to check whether a list contains a specific
element.

svn path=/nixpkgs/trunk/; revision=7577
2007-01-08 22:49:26 +00:00
Eelco Dolstra
735bad8c32 * Now Nixpkgs is officially complete.
svn path=/nixpkgs/trunk/; revision=7573
2007-01-08 21:19:15 +00:00
Eelco Dolstra
684951cb2e * Nagios plugins.
svn path=/nixpkgs/trunk/; revision=7571
2007-01-08 18:55:23 +00:00
Eelco Dolstra
e6ab9b0070 * Install the sample config files.
svn path=/nixpkgs/trunk/; revision=7570
2007-01-08 18:55:06 +00:00
Eelco Dolstra
c646e8594a * Saxon 8.8. Also create a wrapper script so it can be run from the
command line.

svn path=/nixpkgs/trunk/; revision=7549
2007-01-07 17:10:14 +00:00
Eelco Dolstra
35a9f7ecb6 * Remove the xauth dependency in openssh. We can set the xauth path
in sshd_config.

svn path=/nixpkgs/trunk/; revision=7547
2007-01-07 10:18:34 +00:00
Eelco Dolstra
44cefeb142 * Add openssh to the channel.
svn path=/nixpkgs/trunk/; revision=7546
2007-01-07 10:02:30 +00:00
Armijn Hemel
b96c1601a1 update to 1.8.1
svn path=/nixpkgs/trunk/; revision=7545
2007-01-06 22:07:50 +00:00
Armijn Hemel
80daff2267 add postInstall to install include files and libraries
svn path=/nixpkgs/trunk/; revision=7544
2007-01-06 22:04:46 +00:00
Eelco Dolstra
045cdc51e8 * Added sshfs-fuse, a program for mounting remote filesystems via
ssh.  No remote support required, everything is done via ssh's
  builtin sftp protocol.

svn path=/nixpkgs/trunk/; revision=7543
2007-01-06 17:36:03 +00:00
Eelco Dolstra
2ecbdbe5eb * Hack to allow the setuid root program fusermount to work.
svn path=/nixpkgs/trunk/; revision=7542
2007-01-06 17:34:56 +00:00
Eelco Dolstra
c63c32e3b2 * OpenSSH 4.5p1 (old version was ancient!).
svn path=/nixpkgs/trunk/; revision=7541
2007-01-06 16:53:10 +00:00
Eelco Dolstra
2101b16d47 * FUSE 2.6.1.
svn path=/nixpkgs/trunk/; revision=7540
2007-01-06 16:32:29 +00:00
Eelco Dolstra
0b587d5ddf * Graphviz 2.12.
svn path=/nixpkgs/trunk/; revision=7531
2007-01-03 11:50:11 +00:00
Armijn Hemel
044b8aa637 1.2.2.1
1.3.1

svn path=/nixpkgs/trunk/; revision=7530
2007-01-01 19:41:53 +00:00
Eelco Dolstra
d54d18fa8b * Gqview 2.1.5.
svn path=/nixpkgs/trunk/; revision=7529
2007-01-01 19:15:51 +00:00
Armijn Hemel
403d766a59 new version
svn path=/nixpkgs/trunk/; revision=7528
2007-01-01 18:49:23 +00:00
Armijn Hemel
6b8b7566fb location moved
svn path=/nixpkgs/trunk/; revision=7527
2007-01-01 16:16:54 +00:00
Eelco Dolstra
4c5f454f54 * Another attempt.
svn path=/nixpkgs/trunk/; revision=7526
2007-01-01 14:25:21 +00:00
Eelco Dolstra
b19d591a7e * Another attempt at fixing NIXPKGS-37.
svn path=/nixpkgs/trunk/; revision=7525
2007-01-01 14:17:06 +00:00
Eelco Dolstra
8feb1d109b * Better fix for NIXPKGS-37: don't let check-lxdialog.sh look in
/usr.

svn path=/nixpkgs/trunk/; revision=7524
2007-01-01 13:42:23 +00:00
Eelco Dolstra
e9c1e32a0f * Work around an ncurses impurity.
svn path=/nixpkgs/trunk/; revision=7523
2007-01-01 11:45:48 +00:00
Eelco Dolstra
e81c87c122 * Linux 2.6.19.1.
svn path=/nixpkgs/trunk/; revision=7522
2007-01-01 02:01:06 +00:00
Eelco Dolstra
75b6eec2d5 * Second attempt.
svn path=/nixpkgs/trunk/; revision=7521
2006-12-31 19:52:41 +00:00
Eelco Dolstra
5c192229b0 * Urgh.
svn path=/nixpkgs/trunk/; revision=7520
2006-12-31 19:10:40 +00:00
Eelco Dolstra
a26e70c2af * Quick attempt at fixing stdenv-mingw.
svn path=/nixpkgs/trunk/; revision=7519
2006-12-31 19:07:33 +00:00
Eelco Dolstra
6547796515 * VLC 0.8.6.
svn path=/nixpkgs/trunk/; revision=7518
2006-12-30 17:03:21 +00:00
Eelco Dolstra
1d4d77179c * Always set the prefix.
svn path=/nixpkgs/trunk/; revision=7513
2006-12-28 21:12:44 +00:00
Eelco Dolstra
98e5779a9b * Don't clobber $shell.
svn path=/nixpkgs/trunk/; revision=7512
2006-12-28 11:32:20 +00:00
Eelco Dolstra
bb9f4a2280 * Workaround a bug in older versions of bash.
svn path=/nixpkgs/trunk/; revision=7511
2006-12-28 11:15:12 +00:00
Eelco Dolstra
0eff9a5236 * Fix stdenv-initial.
svn path=/nixpkgs/trunk/; revision=7510
2006-12-28 10:54:39 +00:00
Eelco Dolstra
036053fcba * Disable the i686-darwin packages for now.
svn path=/nixpkgs/trunk/; revision=7509
2006-12-28 01:31:10 +00:00
Eelco Dolstra
158a26b1ea * Fix xlibs-wrapper.
svn path=/nixpkgs/trunk/; revision=7508
2006-12-28 01:19:15 +00:00
Armijn Hemel
bb6e765df2 add nagios here too
svn path=/nixpkgs/trunk/; revision=7507
2006-12-28 00:48:21 +00:00
Armijn Hemel
b3dfc01024 * add nagios for monitoring stuff (handy for in the buildfarm!).
It needs cleaning up (I think^Wknow there are some impurities in all the
scripts and the config) and it is non-functional until the nagios-plugins
package has been added.

svn path=/nixpkgs/trunk/; revision=7506
2006-12-28 00:48:06 +00:00
Eelco Dolstra
5d72829c18 * Doh.
svn path=/nixpkgs/trunk/; revision=7505
2006-12-27 20:40:25 +00:00
Eelco Dolstra
d15205f8b8 * Set the shell.
svn path=/nixpkgs/trunk/; revision=7504
2006-12-27 18:42:58 +00:00
Eelco Dolstra
f861c8b66c * makeFlags -> buildFlags in a few places.
svn path=/nixpkgs/trunk/; revision=7503
2006-12-27 18:34:35 +00:00
Eelco Dolstra
b8b44e026c * More redundancy.
svn path=/nixpkgs/trunk/; revision=7502
2006-12-27 18:28:02 +00:00
Eelco Dolstra
cd32e67b2b * Remove makeFlags/installFlags redundancy.
svn path=/nixpkgs/trunk/; revision=7501
2006-12-27 18:26:23 +00:00
Eelco Dolstra
bbe62e266b * Remove references to dontMakeInstall.
svn path=/nixpkgs/trunk/; revision=7500
2006-12-27 18:24:26 +00:00
Eelco Dolstra
7a79d1ff6a * Remove references to substitute.sh.
svn path=/nixpkgs/trunk/; revision=7499
2006-12-27 18:17:53 +00:00
Eelco Dolstra
138c0ae751 * Merge the new generic builder.
* Removed substitute, it's part of the generic builder now.
* stdenv-initial (Linux): use the real generic builder script.  This
  does require that sed is in the path of the builder of the initial
  stdenv.

svn path=/nixpkgs/trunk/; revision=7498
2006-12-27 18:14:57 +00:00
Eelco Dolstra
f6d923febc * Merge builder-cygwin.sh.
svn path=/nixpkgs/trunk/; revision=7497
2006-12-27 17:58:32 +00:00
Eelco Dolstra
7a2c0d1793 * Doh.
svn path=/nixpkgs/trunk/; revision=7496
2006-12-27 17:55:57 +00:00
Eelco Dolstra
2dd4e1b9d3 * Remove dontMakeInstall, it's no longer necessary (just set
installCommand to true or something).

svn path=/nixpkgs/trunk/; revision=7495
2006-12-27 17:48:46 +00:00
Eelco Dolstra
8ab9a58e0d * Split the installPhase into installPhase and fixupPhase. The
fixupPhase strips binaries, runs patchelf, etc.  This is so that
  those things still happen when somebody overrides installPhase.

svn path=/nixpkgs/trunk/; revision=7494
2006-12-27 17:47:09 +00:00
Eelco Dolstra
1d9dcbba22 * Allow the patch flags to be overriden through $patchFlags.
svn path=/nixpkgs/trunk/; revision=7493
2006-12-27 17:33:37 +00:00
Eelco Dolstra
8988c16eea * Pass makeFlags to `make check'.
svn path=/nixpkgs/trunk/; revision=7492
2006-12-27 17:31:55 +00:00
Eelco Dolstra
ed8fff32af * Pass makeFlags to `make install' as well. This is because quite
often the same flags need to be passed to both `make' and `make
  install'.  Added a variable buildFlags for flags that should only be
  passed to `make'.

svn path=/nixpkgs/trunk/; revision=7491
2006-12-27 17:30:40 +00:00
Eelco Dolstra
81025a05df * Variable $installTargets to override the install target in
installPhase.

svn path=/nixpkgs/trunk/; revision=7490
2006-12-27 17:26:43 +00:00
Eelco Dolstra
7ca9054420 * Use substituteInPlace.
svn path=/nixpkgs/trunk/; revision=7489
2006-12-27 17:23:34 +00:00
Eelco Dolstra
592cb44e52 * Fix the quadratic performance in substitute().
svn path=/nixpkgs/trunk/; revision=7488
2006-12-27 17:14:00 +00:00
Eelco Dolstra
eb98a4c328 * Thunderbird 1.5.0.9.
svn path=/nixpkgs/trunk/; revision=7487
2006-12-27 17:00:44 +00:00
Eelco Dolstra
b36d027ad7 * Firefox 2.0.0.1.
svn path=/nixpkgs/trunk/; revision=7486
2006-12-27 16:57:53 +00:00
Armijn Hemel
7e41b751cb new versions of various very important tools to keep the buildfarm busy.
svn path=/nixpkgs/trunk/; revision=7485
2006-12-25 23:28:35 +00:00
Armijn Hemel
d2d3dc33dd update to 1.4.8
svn path=/nixpkgs/trunk/; revision=7484
2006-12-25 21:23:09 +00:00
Armijn Hemel
1e96653eb6 add stub for gettext 0.16.1
svn path=/nixpkgs/trunk/; revision=7483
2006-12-25 21:13:02 +00:00
Armijn Hemel
c5e992c7bf update to 4.2.29
svn path=/nixpkgs/trunk/; revision=7482
2006-12-25 21:09:18 +00:00
Armijn Hemel
331ed07b8c add stub for automake 1.10
svn path=/nixpkgs/trunk/; revision=7481
2006-12-25 20:00:12 +00:00
Eelco Dolstra
9d76685ded * LVM2 and the device mapper.
svn path=/nixpkgs/trunk/; revision=7475
2006-12-23 23:16:04 +00:00
Eelco Dolstra
d96ee92a8c * Purity.
svn path=/nixpkgs/trunk/; revision=7465
2006-12-22 22:16:06 +00:00
Eelco Dolstra
33db7f3dd3 * Build ntpd with capabilities support.
svn path=/nixpkgs/trunk/; revision=7462
2006-12-22 19:22:57 +00:00
Eelco Dolstra
000b1f4cd6 * NTP daemon.
svn path=/nixpkgs/trunk/; revision=7459
2006-12-21 22:23:17 +00:00
Eelco Dolstra
e726057b32 * Function `findSingle' for looking up values in dictionary-like
lists.

svn path=/nixpkgs/trunk/; revision=7446
2006-12-21 00:09:40 +00:00
Eelco Dolstra
fe30bcab94 * Just-in-time compiler for Python.
svn path=/nixpkgs/trunk/; revision=7429
2006-12-19 18:55:04 +00:00
Eelco Dolstra
b0bb9f21ee * Add some stuff to the channel.
* Latest unstable Nix.

svn path=/nixpkgs/trunk/; revision=7389
2006-12-18 17:58:50 +00:00
Eelco Dolstra
3ae5939e87 * Thunderbird 1.5.0.8.
svn path=/nixpkgs/trunk/; revision=7355
2006-12-16 01:17:56 +00:00
Eelco Dolstra
f59f5d7d96 * Handle weird cases when the server redirects us while setting a
cookie.

svn path=/nixpkgs/trunk/; revision=7352
2006-12-15 21:28:59 +00:00
Eelco Dolstra
b83fc581e2 * PHP 5.2.0.
svn path=/nixpkgs/trunk/; revision=7349
2006-12-15 21:18:27 +00:00
Arie Middelkoop
afde8e6270 Added GHC 6.6.
note: the old GHC 6.4(.2?) version is still there. I reused the bootstrap-version to bootstrap GHC-6.6. And some other packages depend on the old GHC 
version as well.

note: only use this package for building other packages. If you install it as an end-user, you'll only be able to use the default GHC libraries, 
because other libraries are only privately registered to this GHC version during a nix-build by hooks (which are not executed when you run GHC 
yourself as an end-user).

Consequently, also added a newer version of uulib and uuagc.

svn path=/nixpkgs/trunk/; revision=7346
2006-12-15 13:32:55 +00:00
Eelco Dolstra
4ae30fee90 * Add wxHaskell to the channel.
svn path=/nixpkgs/trunk/; revision=7344
2006-12-13 23:25:36 +00:00
Eelco Dolstra
fb73ce99f2 * Added wxHaskell.
* Added GNU MP, use it in pycrypto.

svn path=/nixpkgs/trunk/; revision=7343
2006-12-13 22:29:40 +00:00
Eelco Dolstra
a6ca6b0612 * Doh!
svn path=/nixpkgs/trunk/; revision=7342
2006-12-13 21:15:31 +00:00
Eelco Dolstra
9ea7038c51 * BitTorrent 5.0.3.
* wxPython 2.6.3.

svn path=/nixpkgs/trunk/; revision=7341
2006-12-13 20:30:09 +00:00
Eelco Dolstra
0a91ca3091 * Allow "make install" to be overriden using $installCommand.
svn path=/nixpkgs/trunk/; revision=7340
2006-12-13 20:08:24 +00:00
Eelco Dolstra
e6f589d4bf * Some Python packages.
svn path=/nixpkgs/trunk/; revision=7339
2006-12-13 18:04:03 +00:00
Eelco Dolstra
15c96da276 * Python 2.4.4.
* Added a setup hook for Python that adds Python packages in
  buildInputs to $PYTHONPATH.

svn path=/nixpkgs/trunk/; revision=7338
2006-12-13 18:03:08 +00:00
Eelco Dolstra
cd8a033c15 * Remove some obsolete wxGTK/wxPython versions.
svn path=/nixpkgs/trunk/; revision=7337
2006-12-13 15:53:36 +00:00
Eelco Dolstra
5a7b2515e1 * Helper function `writeText' to write a plain text file to the Nix
store.

* Helper function `cleanSource' to bring in a path as a source,
  filtering out all hidden Subversion directories.

svn path=/nixpkgs/trunk/; revision=7334
2006-12-13 14:23:24 +00:00
Eelco Dolstra
e7304dcf48 * Use the latest unstable release.
svn path=/nixpkgs/trunk/; revision=7329
2006-12-13 11:22:34 +00:00
Eelco Dolstra
e002f96a56 * TMI.
svn path=/nixpkgs/trunk/; revision=7315
2006-12-11 15:46:54 +00:00
Eelco Dolstra
e09f8061b7 * OpenSSH: optionally use PAM.
* Some purity fixes in OpenSSH: it needs Perl, and we now specify a
  location for the empty privsep directory.

svn path=/nixpkgs/trunk/; revision=7310
2006-12-11 03:24:35 +00:00
Eelco Dolstra
5b262e235e * Add libxcrypt for Blowfish support in pam_unix2.
svn path=/nixpkgs/trunk/; revision=7305
2006-12-11 02:35:05 +00:00
Eelco Dolstra
745acdd93a * pam_unix2, a better passwd authentication module.
svn path=/nixpkgs/trunk/; revision=7304
2006-12-11 01:39:02 +00:00
Eelco Dolstra
52241b5b0f * No longer needed - folded into the mingetty Upstart job.
svn path=/nixpkgs/trunk/; revision=7301
2006-12-11 00:51:39 +00:00
Eelco Dolstra
7dfbf0eba7 * Move the substitution functions into stdenv (not merged yet).
* If the environment variable buildCommand is set, then eval that
  instead of doing the build phases.  This is used by the runCommand
  function in all-packages.nix to allow one-lines like

    foo = runCommand "foo" {} "mkdir $out; echo foo > $out/foo";
    

svn path=/nixpkgs/trunk/; revision=7298
2006-12-10 22:24:42 +00:00
Eelco Dolstra
cca1ba0372 * Latest Flash beta.
svn path=/nixpkgs/trunk/; revision=7292
2006-12-09 17:27:59 +00:00
Eelco Dolstra
951da2409f * Slightly cleaner way.
svn path=/nixpkgs/trunk/; revision=7289
2006-12-09 00:57:16 +00:00
Eelco Dolstra
8695d51417 * Added the IANA protocols and services files for /etc.
svn path=/nixpkgs/trunk/; revision=7288
2006-12-09 00:54:11 +00:00
Eelco Dolstra
42558043b3 * Emacs: use ncurses so that we don't need /etc/termcap in terminal
mode.

svn path=/nixpkgs/trunk/; revision=7287
2006-12-09 00:48:15 +00:00
Eelco Dolstra
7ce9e38ad9 * Latest pam.
* Added pwdutils and pam_login to replace shadow.

svn path=/nixpkgs/trunk/; revision=7284
2006-12-08 23:53:07 +00:00
Eelco Dolstra
3691639db1 * By popular demand: xfig.
svn path=/nixpkgs/trunk/; revision=7278
2006-12-08 01:17:21 +00:00
Eelco Dolstra
3a4312f263 * Latest unstable version.
svn path=/nixpkgs/trunk/; revision=7274
2006-12-07 22:50:15 +00:00
Eelco Dolstra
71285201cd * Doh! Copy *all* the plugins. No wonder most videos didn't work
anymore...

svn path=/nixpkgs/trunk/; revision=7272
2006-12-07 22:00:10 +00:00
Armijn Hemel
3613f5568c 1.1 -> 1.2
svn path=/nixpkgs/trunk/; revision=7268
2006-12-07 19:31:23 +00:00
Eelco Dolstra
cf8fad5c83 * MPlayer 1.0rc1.
* Added freefont-ttf (use to provide a default OSD font for MPlayer).

svn path=/nixpkgs/trunk/; revision=7241
2006-12-05 22:28:45 +00:00
Eelco Dolstra
26b32785d2 * Xvidcap for making screen recordings.
svn path=/nixpkgs/trunk/; revision=7186
2006-12-01 16:44:26 +00:00
Eelco Dolstra
157b6cd18d * Missing dependencies. Will merge into the generator later.
svn path=/nixpkgs/trunk/; revision=7166
2006-11-28 22:28:27 +00:00
Eelco Dolstra
153d4e65a1 * Fork of build-env in the Nix distribution. This one supports
ignoring collisions and selectively including directories.

svn path=/nixpkgs/trunk/; revision=7160
2006-11-28 16:46:12 +00:00
Eelco Dolstra
89ba1cba24 * We don't need groups from shadow.
svn path=/nixpkgs/trunk/; revision=7159
2006-11-28 15:45:41 +00:00
Eelco Dolstra
e7194e0ed5 * Library functions: filter, eqLists (equality on lists; the `=='
operator is mostly broken, see NIX-62).

svn path=/nixpkgs/trunk/; revision=7151
2006-11-27 16:58:08 +00:00
Eelco Dolstra
70b5d37109 * Add some more NixOS stuff to the channel.
svn path=/nixpkgs/trunk/; revision=7145
2006-11-27 10:54:00 +00:00
Eelco Dolstra
eed02cb58f * Fix corrupt archives in cpio 2.7 when dealing with symlinks.
svn path=/nixpkgs/trunk/; revision=7143
2006-11-27 00:34:05 +00:00
Eelco Dolstra
8c4574571d * Build with fbsplash support, and put the control FIFO (which we
don't use yet, the daemon mode seems broken) in a more sensible
  place.

svn path=/nixpkgs/trunk/; revision=7139
2006-11-26 23:25:25 +00:00
Eelco Dolstra
510ff785e7 * Urgh, splashutils requires the klibc headers to contain header files
from the fbsplash kernel patch.  So use the actual patched kernel as
  an input to klibc, instead of Glibc's kernel headers.

svn path=/nixpkgs/trunk/; revision=7138
2006-11-26 23:24:40 +00:00
Eelco Dolstra
2bfcec0e04 * Oops, don't assume dosbox to be in $PATH.
svn path=/nixpkgs/trunk/; revision=7135
2006-11-26 14:10:28 +00:00
Eelco Dolstra
88f1d8af8e * Build splashutils properly.
svn path=/nixpkgs/trunk/; revision=7134
2006-11-25 23:41:53 +00:00
Eelco Dolstra
66b646d7e7 * Latest klibc.
svn path=/nixpkgs/trunk/; revision=7133
2006-11-25 21:49:42 +00:00
Eelco Dolstra
3df5921afe * FB_SPLASH requires FB_TILEBLITTING to be off.
svn path=/nixpkgs/trunk/; revision=7132
2006-11-25 13:23:52 +00:00
Eelco Dolstra
886eab9ead * Disable parted for now, I think I broke e2fsprogs.
svn path=/nixpkgs/trunk/; revision=7131
2006-11-25 12:56:35 +00:00
Eelco Dolstra
6068fe8440 * Turn on fbsplash.
svn path=/nixpkgs/trunk/; revision=7130
2006-11-25 11:29:10 +00:00
Eelco Dolstra
f95a14fa22 * Linux 2.6.18.3.
* fbsplash kernel patch (from Gentoo - better than SUSE's bootsplash).

svn path=/nixpkgs/trunk/; revision=7129
2006-11-25 11:10:50 +00:00
Eelco Dolstra
a1b0fb3979 * Work around a dependency on /bin/bash.
svn path=/nixpkgs/trunk/; revision=7128
2006-11-25 00:40:09 +00:00
Eelco Dolstra
491f505848 * Splashutils.
svn path=/nixpkgs/trunk/; revision=7126
2006-11-25 00:28:15 +00:00
Eelco Dolstra
53d285263f * Add some more stuff to the channel for NixOS.
svn path=/nixpkgs/trunk/; revision=7125
2006-11-24 20:38:42 +00:00
Eelco Dolstra
50f412047d * Use symlinks instead of hard links in e2fsprogs.
* Merge e2fsprogs and e2fsprogs-diet.

svn path=/nixpkgs/trunk/; revision=7116
2006-11-24 11:36:57 +00:00
Eelco Dolstra
9485d4a320 * Support \pgfimage.
svn path=/nixpkgs/trunk/; revision=7087
2006-11-22 07:06:10 +00:00
Eelco Dolstra
244a91a090 * Fix status/stop commands.
svn path=/nixpkgs/trunk/; revision=7080
2006-11-20 16:37:00 +00:00
Eelco Dolstra
1051c44d9c * Don't use /bin/sh.
* Don't clear the PATH.

svn path=/nixpkgs/trunk/; revision=7077
2006-11-19 22:02:16 +00:00
Eelco Dolstra
cdcbad35d7 * Quick patch to set the Upstart events directory.
svn path=/nixpkgs/trunk/; revision=7073
2006-11-19 18:16:13 +00:00
Eelco Dolstra
518bce117f * Turn on the compatibility tools.
svn path=/nixpkgs/trunk/; revision=7072
2006-11-19 15:58:58 +00:00
Eelco Dolstra
f6b48bee54 * Added upstart.
svn path=/nixpkgs/trunk/; revision=7069
2006-11-17 20:24:42 +00:00
Eelco Dolstra
1e384ef2f2 * Add some system packages to the channel for NixOS.
svn path=/nixpkgs/trunk/; revision=7064
2006-11-17 14:23:51 +00:00
Eelco Dolstra
265c313feb * Revive nixUnstable.
svn path=/nixpkgs/trunk/; revision=7060
2006-11-17 12:49:46 +00:00
Eelco Dolstra
298f1ffad6 * Revert r7041. I think we're better off with gensplash than with
splashy.

svn path=/nixpkgs/trunk/; revision=7059
2006-11-17 11:45:56 +00:00
Eelco Dolstra
3803cfdff2 * lhs2TeX updated to 1.11.
svn path=/nixpkgs/trunk/; revision=7055
2006-11-15 15:25:32 +00:00
Eelco Dolstra
bc394c1775 * Splashy for showing boot splash screens. Doesn't work yet though.
svn path=/nixpkgs/trunk/; revision=7041
2006-11-15 00:10:40 +00:00
Eelco Dolstra
3dc7e103cf * DirectFB.
svn path=/nixpkgs/trunk/; revision=7040
2006-11-14 22:23:33 +00:00
Eelco Dolstra
82888b7a20 * New version that integrates the MinGW patch.
svn path=/nixpkgs/trunk/; revision=7034
2006-11-14 18:50:17 +00:00
Eelco Dolstra
1cddeefb30 * Provide a patched ATerm library that works on 64-bit systems and on
systems with Glibc 2.5 or GCC 4.1.x.

svn path=/nixpkgs/trunk/; revision=7032
2006-11-14 15:55:57 +00:00
Eelco Dolstra
23b840f5bd * Refactor a bit.
svn path=/nixpkgs/trunk/; revision=7030
2006-11-14 15:49:07 +00:00
Eelco Dolstra
1ace3742a3 * Fix bzip2 on cygwin.
svn path=/nixpkgs/trunk/; revision=7025
2006-11-13 23:01:35 +00:00
Eelco Dolstra
5474c6518f * Impurity in udev: don't call /usr/bin/install.
svn path=/nixpkgs/trunk/; revision=7013
2006-11-13 10:33:29 +00:00
Martin Bravenboer
d7fcf2f810 Added /usr/local/bin to the initial search path to support Massala
svn path=/nixpkgs/trunk/; revision=7011
2006-11-13 10:09:56 +00:00
Eelco Dolstra
3dcb2e095e * Urgh, go back to 0.25 (0.26 fails on most platforms).
svn path=/nixpkgs/trunk/; revision=6984
2006-11-08 16:39:20 +00:00
Eelco Dolstra
aca43b766b * Sheesh, Subversion is picky.
svn path=/nixpkgs/trunk/; revision=6981
2006-11-08 16:11:51 +00:00
Eelco Dolstra
73448634c4 * Subversion 1.4.2.
* Neon 0.26.2.

svn path=/nixpkgs/trunk/; revision=6980
2006-11-08 13:03:55 +00:00
Eelco Dolstra
36b1473e09 * Allow the result to be stored somewhere else than $out.
svn path=/nixpkgs/trunk/; revision=6978
2006-11-08 09:26:18 +00:00
Eelco Dolstra
986ec9c8a1 * Fix some paths.
svn path=/nixpkgs/trunk/; revision=6974
2006-11-07 21:13:57 +00:00
Eelco Dolstra
dab13a2af0 * Latest udev, which builds against the latest kernel.
svn path=/nixpkgs/trunk/; revision=6973
2006-11-07 19:48:05 +00:00
Eelco Dolstra
eac4138841 * Cygwin patch.
svn path=/nixpkgs/trunk/; revision=6972
2006-11-07 16:07:42 +00:00
Eelco Dolstra
347ef7f889 * Turn on some Cygwin packages.
svn path=/nixpkgs/trunk/; revision=6969
2006-11-07 15:14:06 +00:00
Eelco Dolstra
908b2bf027 * Latest cpio; fixes a problem with symlinks.
svn path=/nixpkgs/trunk/; revision=6965
2006-11-07 10:48:08 +00:00
Eelco Dolstra
023e2003df * Install into $out/sbin, not $out/usr/sbin.
svn path=/nixpkgs/trunk/; revision=6962
2006-11-06 22:16:10 +00:00
Eelco Dolstra
609607768f * Turn the nukeRefs() function into a separate program.
svn path=/nixpkgs/trunk/; revision=6941
2006-11-03 13:33:24 +00:00
Eelco Dolstra
d0a18cf8fa * Also symlink the linux directory in kernel-headers.
svn path=/nixpkgs/trunk/; revision=6940
2006-11-03 13:32:58 +00:00
Eelco Dolstra
e8261201d8 * Dietlibc: symlink to the asm directory from kernel-headers, because
some programs (such as module-init-tools) need it.
* Remove module-init-tools-static, it now builds out of the box with
  dietlibc.

svn path=/nixpkgs/trunk/; revision=6938
2006-11-03 11:09:06 +00:00
Eelco Dolstra
039b141471 * Generate a modules.dep containing correct paths.
svn path=/nixpkgs/trunk/; revision=6935
2006-11-03 08:32:23 +00:00
Eelco Dolstra
b99122d759 * Set MODULE_DIR.
svn path=/nixpkgs/trunk/; revision=6933
2006-11-03 00:34:48 +00:00
Eelco Dolstra
e23c7013be * Revert r6921 because now I do want a kernel without builtin IDE
support and so on (so that I can test kernel modules in initrd).

svn path=/nixpkgs/trunk/; revision=6931
2006-11-02 23:40:16 +00:00
Eelco Dolstra
05c884b471 * Utility: the generic substituter. It substitutes all occurences of
`@var@' in the file `src', writing the result to $out, where `var'
  is any environment variable starting with a lowercase character.
  Example:

    genericSubstituter {
      src = ./file;
      foo = "bla";
      shell = bash + "/bin/sh";
    };

  will replace `@foo@' with `bla' and `@shell@' with
  `/nix/store/...-bash-.../bin/sh'.

svn path=/nixpkgs/trunk/; revision=6928
2006-11-02 22:44:32 +00:00
Eelco Dolstra
2f0d625a7a * Flash Player 9 Beta (enabled in the Firefox wrapper).
svn path=/nixpkgs/trunk/; revision=6925
2006-11-01 14:27:20 +00:00
Eelco Dolstra
641e72cf40 * iputils: use the same kernel headers as glibc.
svn path=/nixpkgs/trunk/; revision=6924
2006-11-01 13:58:46 +00:00
Eelco Dolstra
ff0c1c7b99 * Add the kernel to the channel.
svn path=/nixpkgs/trunk/; revision=6922
2006-11-01 10:33:03 +00:00
Eelco Dolstra
faeab47cf8 * Compile IDE support into the kernel rather than in modules. We need
this until we have some sort of initrd.

svn path=/nixpkgs/trunk/; revision=6921
2006-10-31 23:01:08 +00:00
Eelco Dolstra
32cb4c8a54 * Hack to get static util-linux builds to work.
svn path=/nixpkgs/trunk/; revision=6917
2006-10-31 16:21:24 +00:00
Eelco Dolstra
6225e46baf * Use a pure depmod.
svn path=/nixpkgs/trunk/; revision=6916
2006-10-31 16:03:19 +00:00
Eelco Dolstra
84ba6b71d2 * Disable ov511 for now.
svn path=/nixpkgs/trunk/; revision=6915
2006-10-31 13:21:31 +00:00
Eelco Dolstra
9a6683d6a2 * Linux kernel: updated to 2.6.18.1.
* Kernel: accept a list of kernel patches through the kernelPatches
  argument.  The names of the patches are added to the description
  attribute (e.g., "The Linux kernel (with patches:
  skas-2.6.18-v9-pre9)").
* Generic builder (forked in setup-new.sh): support patches that are
  compressed using gzip or bzip2.

svn path=/nixpkgs/trunk/; revision=6913
2006-10-31 11:40:35 +00:00
Eelco Dolstra
84983f974f * Strace fixes.
svn path=/nixpkgs/trunk/; revision=6911
2006-10-30 15:36:33 +00:00
Eelco Dolstra
39b95dd1f9 * util-linux 2.13pre7.
svn path=/nixpkgs/trunk/; revision=6909
2006-10-30 15:14:15 +00:00
Eelco Dolstra
769c44da98 * Get User Mode Linux to compile again:
- Hack to make it work with the latest host kernel headers
    (2.6.18.1).
  - Don't call depmod impurily, rather use oldskool modutils.
  - modutils: use the final version, and use GCC 3.4 to compile it
    (4.1 doesn't work).

svn path=/nixpkgs/trunk/; revision=6908
2006-10-30 13:45:48 +00:00
Eelco Dolstra
9050bc10fe * Latest bootstrap binaries for x86_64.
svn path=/nixpkgs/trunk/; revision=6907
2006-10-30 13:40:18 +00:00
Eelco Dolstra
37bbcde566 * Don't nuke unconditionally.
svn path=/nixpkgs/trunk/; revision=6905
2006-10-30 12:57:30 +00:00
Eelco Dolstra
711bb9b56a * Fix GCC 3.3.
svn path=/nixpkgs/trunk/; revision=6904
2006-10-30 11:58:24 +00:00
Eelco Dolstra
936e388171 * Doh.
svn path=/nixpkgs/trunk/; revision=6902
2006-10-29 00:41:29 +00:00
Eelco Dolstra
985f1f61af * Urgh, disable UML as well.
svn path=/nixpkgs/trunk/; revision=6901
2006-10-29 00:40:27 +00:00
Eelco Dolstra
203c8a1f3c * Disable transformers, strace; they don't build anymore.
svn path=/nixpkgs/trunk/; revision=6900
2006-10-29 00:36:17 +00:00
Eelco Dolstra
f0a239989e * __currentSystem is evil.
svn path=/nixpkgs/trunk/; revision=6899
2006-10-29 00:05:17 +00:00
Eelco Dolstra
0b78c04601 * Fix gcc 3.3.
svn path=/nixpkgs/trunk/; revision=6898
2006-10-28 23:41:45 +00:00
Eelco Dolstra
000755f72e * Latest findutils doesn't build on Darwin, either.
svn path=/nixpkgs/trunk/; revision=6897
2006-10-28 23:17:39 +00:00
Eelco Dolstra
ef4fe4f102 * Use a proper distribution.
svn path=/nixpkgs/trunk/; revision=6896
2006-10-28 22:31:46 +00:00
Eelco Dolstra
c391e5855b * An example of supporting legacy applications using dosbox ;-)
svn path=/nixpkgs/trunk/; revision=6895
2006-10-28 22:28:35 +00:00
Eelco Dolstra
f95a93197a * Don't use EPSV.
svn path=/nixpkgs/trunk/; revision=6894
2006-10-28 22:07:25 +00:00
Eelco Dolstra
0c0d30d248 * Fix the URLs / hashes.
svn path=/nixpkgs/trunk/; revision=6891
2006-10-28 13:51:49 +00:00
Eelco Dolstra
bfa469d192 * New (smaller) bootstrap binaries for powerpc.
svn path=/nixpkgs/trunk/; revision=6889
2006-10-28 13:35:22 +00:00
Eelco Dolstra
64f8e95cf8 * Remove references from some GCC header file on powerpc.
svn path=/nixpkgs/trunk/; revision=6888
2006-10-28 13:32:49 +00:00
Eelco Dolstra
770517edbb * Doh, we're building in a different directory than the sources.
svn path=/nixpkgs/trunk/; revision=6887
2006-10-28 11:40:26 +00:00
Eelco Dolstra
b8f17a1e59 * Workaround for the wrong <semaphore.h> getting installed. This
appears to be a regression:
  http://www.mail-archive.com/debian-glibc@lists.debian.org/msg31543.html 

svn path=/nixpkgs/trunk/; revision=6885
2006-10-28 10:17:08 +00:00
Eelco Dolstra
3a6754f6bb * gcc-4.1-temp -> gcc-4.1.
* Use real URLs.

svn path=/nixpkgs/trunk/; revision=6884
2006-10-27 23:14:41 +00:00
Eelco Dolstra
b7a96d74e2 svn path=/nixpkgs/trunk/; revision=6883 2006-10-27 23:13:44 +00:00
Eelco Dolstra
c37304db96 * Oops, the bootstrap tools contained an impure gzip/gunzip.
* To prevent this kind of thing, check that all tools are statically
  linked.
* Use findutils 4.2.27, 4.2.28 doesn't build with dietlibc.

svn path=/nixpkgs/trunk/; revision=6881
2006-10-27 22:50:58 +00:00
Eelco Dolstra
de25bee83d * Of course, the latest GNU tar has the same gnulib header file shit
as coreutils.

svn path=/nixpkgs/trunk/; revision=6880
2006-10-27 20:14:19 +00:00
Eelco Dolstra
3ea7d9d272 * Fix static linking in gcc.
* Use the coreutils in dietlibc.
* Add objdump to the binutils static tarball.

svn path=/nixpkgs/trunk/; revision=6879
2006-10-27 20:08:53 +00:00
Eelco Dolstra
0f7883d12f * Revive the old coreutils, since coreutils 6 is broken beyond repair
with dietlibc (it does some incredibly nasty hackery with the system
  header files...).

svn path=/nixpkgs/trunk/; revision=6878
2006-10-27 19:53:23 +00:00
Eelco Dolstra
d29fe5bfc1 * Remove dietgcc, use useDietLibC.
* glibc -> libc in some places.

svn path=/nixpkgs/trunk/; revision=6877
2006-10-27 13:52:37 +00:00
Eelco Dolstra
01fbf62a2c * nativeGlibc -> nativeLibc (gcc-cross-wrapper is probably broken
right now; should merge gcc-wrapper changes).

svn path=/nixpkgs/trunk/; revision=6876
2006-10-27 13:44:17 +00:00
Eelco Dolstra
c43f885d2d * Disable the sole cygwin package.
svn path=/nixpkgs/trunk/; revision=6874
2006-10-27 12:56:24 +00:00
Eelco Dolstra
b90781ec21 * Renamed orig-glibc -> orig-libc in some places, and in others, use
the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
2006-10-27 12:43:32 +00:00
Eelco Dolstra
ee2b63c872 * Argggggghhhh.
svn path=/nixpkgs/trunk/; revision=6872
2006-10-27 12:07:03 +00:00
Eelco Dolstra
0e776c19d2 * Real URLs.
svn path=/nixpkgs/trunk/; revision=6869
2006-10-26 22:55:04 +00:00
Eelco Dolstra
609710f102 * Enable the pure stdenv-linux for powerpc.
svn path=/nixpkgs/trunk/; revision=6867
2006-10-26 22:41:46 +00:00
Eelco Dolstra
29961dbb85 * Doh.
svn path=/nixpkgs/trunk/; revision=6866
2006-10-26 22:40:44 +00:00
Eelco Dolstra
2efe6dc281 * Tsk.
svn path=/nixpkgs/trunk/; revision=6865
2006-10-26 22:30:48 +00:00
Eelco Dolstra
cf693caa08 * Another example of an inline hook.
svn path=/nixpkgs/trunk/; revision=6864
2006-10-26 22:30:27 +00:00
Eelco Dolstra
0b7e256162 * Hook variables in the generic builder are now executed using eval.
This has a major advantage: you can write hooks directly in Nix
  expressions.  For instance, rather than write a builder like this:

    source $stdenv/setup

    postInstall=postInstall
    postInstall() {
        ln -sf gzip $out/bin/gunzip
        ln -sf gzip $out/bin/zcat
    }

    genericBuild

  (the gzip builder), you can just add this attribute to the
  derivation:

    postInstall = "ln -sf gzip $out/bin/gunzip; ln -sf gzip $out/bin/zcat";

  and so a separate build script becomes unnecessary.  This should
  allow us to get rid of most builders in Nixpkgs.

* Allow configure and make arguments to contain whitespace.
  Previously, you could say, for instance

    configureFlags="CFLAGS=-O0"

  but not

    configureFlags="CFLAGS=-O0 -g"

  since the `-g' would be interpreted as a separate argument to
  configure.  Now you can say

    configureFlagsArray=("CFLAGS=-O0 -g")

  or similarly

    configureFlagsArray=("CFLAGS=-O0 -g" "LDFLAGS=-L/foo -L/bar")

  which does the right thing.  Idem for makeFlags, installFlags,
  checkFlags and distFlags.

  Unfortunately you can't pass arrays to Bash through the environment,
  so you can't put the array above in a Nix expression, e.g.,

    configureFlagsArray = ["CFLAGS=-O0 -g"];

  since it would just be flattened to a since string.  However, you
  can use the inline hooks described above:

    preConfigure = "configureFlagsArray=(\"CFLAGS=-O0 -g\")";


svn path=/nixpkgs/trunk/; revision=6863
2006-10-26 22:20:25 +00:00