Commit Graph

1986 Commits

Author SHA1 Message Date
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
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
5474c6518f * Impurity in udev: don't call /usr/bin/install.
svn path=/nixpkgs/trunk/; revision=7013
2006-11-13 10:33:29 +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
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
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
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
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
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
31f2316454 * "ppc" -> "powerpc", but do copy the "ppc" directory as well.
svn path=/nixpkgs/trunk/; revision=6844
2006-10-25 10:55:36 +00:00
Eelco Dolstra
26a11fbf54 * Fix a typo, and put the platform-specific header directory in the
Nix expression rather than the builder.

svn path=/nixpkgs/trunk/; revision=6843
2006-10-25 10:14:27 +00:00
Eelco Dolstra
1080560215 * Remove old kernel headers, use 2.6.18.1.
svn path=/nixpkgs/trunk/; revision=6832
2006-10-24 22:26:09 +00:00
Eelco Dolstra
461783c3a5 * useDietLibC: work properly on impure stdenvs.
* dietlibc: pass glibc explicitly.

svn path=/nixpkgs/trunk/; revision=6807
2006-10-23 17:43:55 +00:00
Eelco Dolstra
ed5f6e55e8 * Support x86_64.
svn path=/nixpkgs/trunk/; revision=6805
2006-10-23 17:42:17 +00:00
Eelco Dolstra
84dd812f33 Finally, the new stdenv-linux.
* The statically linked bootstrap tools are now automatically
  reproducable, just do:

  $ nix-build ./make-bootstrap-tools.nix

  The resulting binaries in result/in-nixpkgs go to
  stdenv/linux/bootstrap/<platform>/, and the tarballs in
  result/on-server go to
  https://svn.cs.uu.nl:12443/repos/trace/tarballs/trunk/stdenv-linux/<platform>/<revision>/.
  These are checked out on nix.cs.uu.nl under http://.../dist/tarballs.

* The statically linked libraries all use dietlibc now (except
  patchelf and glibc), so they are much smaller.  This is especially
  nice for the tools in the Nixpkgs tree, since it makes Nixpkgs
  tarballs smaller.

* Use Binutils 2.17 and GCC 4.1.1 for the bootstrap.

* The stdenv is now based on Glibc 2.5.  I hope it works ;-)

svn path=/nixpkgs/trunk/; revision=6803
2006-10-23 14:27:34 +00:00
Eelco Dolstra
bc22a981e5 * Remove <dlfcn.h>, it makes some packages think we can load dynamic
libraries.

svn path=/nixpkgs/trunk/; revision=6796
2006-10-21 11:36:28 +00:00
Eelco Dolstra
4a00169ff6 * Okay, we do need part of <wchar.h>
svn path=/nixpkgs/trunk/; revision=6790
2006-10-20 16:01:11 +00:00
Eelco Dolstra
8ae026392b * Remove <wchar.h> since it's bogus.
svn path=/nixpkgs/trunk/; revision=6781
2006-10-19 22:30:20 +00:00
Eelco Dolstra
c696045af0 * dietlibc: copy sys/user.h from Glibc, binutils needs it.
* dietlibc: rename the PC macro to __DIETLIBC_PC to prevent name
  clashes.

svn path=/nixpkgs/trunk/; revision=6769
2006-10-19 10:54:40 +00:00
Eelco Dolstra
501ceef268 * A function `useDietLibC' that returns a modified stdenv that uses
dietlibc to produce small, statically linked binaries.  This stdenv
  also passes `-Os' to GCC automatically to optimise for size.  It
  also tries to prevent builders from linking against dynamic
  libraries (which dietlibc doesn't support).

* A function `addAttrsToDerivation' that returns a modified stdenv
  that always adds the specified attributes to the derivations that it
  produces.  Example (from curl):

    curlDiet =  import ../tools/networking/curl {
      inherit fetchurl zlib;
      stdenv = addAttrsToDerivation {
        CFLAGS = "-DHAVE_INET_NTOA_R_2_ARGS=1";
      } (useDietLibC stdenv);
    };

  (This is needed to get curl to build with dietlibc.  Also note the
  stacking of stdenv-modifying functions.)

* curl-diet: no longer necessary.

svn path=/nixpkgs/trunk/; revision=6761
2006-10-18 12:50:04 +00:00
Eelco Dolstra
20d42ae673 * Fake Glibc's crti.o and crtn.o to make the linker happy.
svn path=/nixpkgs/trunk/; revision=6760
2006-10-18 12:45:46 +00:00
Eelco Dolstra
b131d474c7 * dietlibc: symlink "lib" to "lib-*", and symlink "crt1.o" to
"start.o" to make it easier to use dietlibc as a drop-in replacement
  for glibc.

svn path=/nixpkgs/trunk/; revision=6759
2006-10-18 11:25:10 +00:00
Eelco Dolstra
5782390a5d * Fix some URLs.
svn path=/nixpkgs/trunk/; revision=6714
2006-10-12 15:09:27 +00:00
Eelco Dolstra
ad897a7c96 * Update more URLs.
svn path=/nixpkgs/trunk/; revision=6713
2006-10-12 14:53:45 +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
f772de22a1 * Updated the kernel to 2.6.17.13.
* Run `make oldconfig' before building.
* Split buildPhase into configure/build/installPhase.
* Strip the kernel modules for a huge space savings.

svn path=/nixpkgs/trunk/; revision=6555
2006-09-18 22:09:47 +00:00
Eelco Dolstra
083699314d * Latest ALSA, SDL.
svn path=/nixpkgs/trunk/; revision=6500
2006-09-11 23:06:26 +00:00
Armijn Hemel
6412133453 add squashfs tools for making/unpacking squashfs images
svn path=/nixpkgs/trunk/; revision=6476
2006-09-08 15:19:43 +00:00
Eelco Dolstra
b76219e55b * Doh :-(
svn path=/nixpkgs/trunk/; revision=6316
2006-08-29 18:08:26 +00:00
Eelco Dolstra
82249837c6 * Use the very latest kernel headers, while we're at it.
svn path=/nixpkgs/trunk/; revision=6313
2006-08-29 18:07:03 +00:00
Armijn Hemel
a6409626a4 fix download location
svn path=/nixpkgs/trunk/; revision=6312
2006-08-29 18:01:48 +00:00
Armijn Hemel
f2b3ae3213 switch to 2.6.17.6 before the buildfarm starts to build ;)
svn path=/nixpkgs/trunk/; revision=6311
2006-08-29 17:59:48 +00:00
Armijn Hemel
58f89a8877 change kernel-headers. Now we can build this on powerpc-linux too...
svn path=/nixpkgs/trunk/; revision=6310
2006-08-29 17:48:04 +00:00
Armijn Hemel
b5f16b3541 whoops, don't forget a default.nix...
svn path=/nixpkgs/trunk/; revision=6299
2006-08-28 21:55:35 +00:00
Armijn Hemel
e142de356a 3.20 needs different patch
svn path=/nixpkgs/trunk/; revision=6298
2006-08-28 21:53:39 +00:00
Armijn Hemel
0af8111262 download location has changed
svn path=/nixpkgs/trunk/; revision=6293
2006-08-28 13:22:40 +00:00
Armijn Hemel
541a148e91 change download location (ftp.nluug.nl gives a 550, because of disks that are
full, and so on...sigh)

svn path=/nixpkgs/trunk/; revision=6290
2006-08-28 09:58:07 +00:00
Armijn Hemel
a9aa78e444 add Red Hat's mkinitrd package. This is mainly so we can use the "grubby" program in NixOS.
svn path=/nixpkgs/trunk/; revision=6280
2006-08-27 20:00:08 +00:00
Armijn Hemel
1730acf983 add libraries for SELinux. Not that we're gonna use it...
svn path=/nixpkgs/trunk/; revision=6276
2006-08-27 18:05:18 +00:00
Armijn Hemel
dfc8248073 fix some compilation/installation issues with e2fsprogs.
svn path=/nixpkgs/trunk/; revision=6275
2006-08-27 17:40:04 +00:00
Armijn Hemel
7bd7fef590 add a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEVadd a wrapper for MAKEDEV
svn path=/nixpkgs/trunk/; revision=6058
2006-08-06 20:30:41 +00:00
Armijn Hemel
5d58712fe0 add the MAKEDEV utility. This needs a wrapper with the right location of the configuration directory (default /etc/makdev.d) to work correctly on NixOS.
svn path=/nixpkgs/trunk/; revision=6057
2006-08-06 19:57:12 +00:00
Armijn Hemel
6f1e09951c refactor
svn path=/nixpkgs/trunk/; revision=6006
2006-07-31 15:12:08 +00:00
Armijn Hemel
7930f906dc allow for variability, don't change the default
svn path=/nixpkgs/trunk/; revision=5999
2006-07-30 22:47:39 +00:00
Armijn Hemel
0d685d9ebe move NIX_GLIBC_FLAGS_SET=1 to the dietlibc-wrapper
svn path=/nixpkgs/trunk/; revision=5992
2006-07-30 17:07:15 +00:00
Armijn Hemel
6aca0d8f9d more fixes
svn path=/nixpkgs/trunk/; revision=5985
2006-07-28 13:29:33 +00:00
Armijn Hemel
559ea955a1 fixes
svn path=/nixpkgs/trunk/; revision=5984
2006-07-28 13:17:09 +00:00
Armijn Hemel
5ee173e814 new builders, new scripts, new yay!
svn path=/nixpkgs/trunk/; revision=5982
2006-07-28 12:49:12 +00:00
Armijn Hemel
a9d8252365 remove scripts
svn path=/nixpkgs/trunk/; revision=5981
2006-07-28 12:48:19 +00:00
Armijn Hemel
05fad51550 change patch again, this time to keep Eelco happy
svn path=/nixpkgs/trunk/; revision=5969
2006-07-27 16:57:58 +00:00
Armijn Hemel
020ecb474f fix patch once again, modprobe should work fine now
svn path=/nixpkgs/trunk/; revision=5968
2006-07-27 16:52:56 +00:00
Armijn Hemel
9ec98e5d19 change patch so we get the right path
svn path=/nixpkgs/trunk/; revision=5967
2006-07-27 16:23:29 +00:00
Armijn Hemel
4961c5e3e1 add an option to dynamically set the MODULE_DIR path using an environment variable. This way we can keep more information in the store (as suggested by Eelco) and get rid of my ugly hack in NixOS...and a large part of one chapter of my thesis :|
svn path=/nixpkgs/trunk/; revision=5966
2006-07-27 15:06:58 +00:00
Armijn Hemel
5ae0cc2c5e new procps
svn path=/nixpkgs/trunk/; revision=5877
2006-07-22 19:49:29 +00:00
Armijn Hemel
80b7adab70 cleanups
svn path=/nixpkgs/trunk/; revision=5866
2006-07-21 16:13:56 +00:00
Armijn Hemel
66c10e00e8 run depmod as well after having rebuilt everything
svn path=/nixpkgs/trunk/; revision=5865
2006-07-21 15:37:07 +00:00
Armijn Hemel
7460d6f3a2 more fixes
svn path=/nixpkgs/trunk/; revision=5864
2006-07-21 15:07:04 +00:00
Armijn Hemel
a0d71d4a50 fixes, fixes, fixes
svn path=/nixpkgs/trunk/; revision=5863
2006-07-21 14:24:43 +00:00
Armijn Hemel
de51340b0c use new thingies (system/i686-linux.nix -> top-level/all-packages.nix)
svn path=/nixpkgs/trunk/; revision=5862
2006-07-21 13:48:19 +00:00
Armijn Hemel
38420dfd6f make sure ov511 2.30 still builds...or builds again...
svn path=/nixpkgs/trunk/; revision=5764
2006-07-17 21:35:58 +00:00
Armijn Hemel
512ba2d502 don't link with glibc
svn path=/nixpkgs/trunk/; revision=5746
2006-07-17 18:01:50 +00:00
Armijn Hemel
d169043264 readd ov511 2.30
svn path=/nixpkgs/trunk/; revision=5745
2006-07-17 17:57:26 +00:00
Armijn Hemel
d86c05ba13 add mktemp. Oops.
svn path=/nixpkgs/trunk/; revision=5738
2006-07-17 15:52:40 +00:00
Armijn Hemel
837136958c make 2.6.11.12 the default again
svn path=/nixpkgs/trunk/; revision=5737
2006-07-17 15:34:46 +00:00
Armijn Hemel
4f15479260 restore old config
svn path=/nixpkgs/trunk/; revision=5736
2006-07-17 15:34:04 +00:00
Armijn Hemel
f77644624f move the current Nix expression to its own thing
svn path=/nixpkgs/trunk/; revision=5735
2006-07-17 15:29:02 +00:00
Armijn Hemel
1fc6ce85c4 compile with the right kernel, mark the compilation as b0rken (because it
is and needs more investigation)

svn path=/nixpkgs/trunk/; revision=5726
2006-07-17 07:49:17 +00:00
Armijn Hemel
e2d170f18e also rename it :S
svn path=/nixpkgs/trunk/; revision=5725
2006-07-16 23:16:00 +00:00
Armijn Hemel
33d2d2515d add headers for 2.6.17.6, not yet default
svn path=/nixpkgs/trunk/; revision=5724
2006-07-16 23:15:47 +00:00
Armijn Hemel
f38d827007 needs gawk
svn path=/nixpkgs/trunk/; revision=5723
2006-07-16 23:09:44 +00:00
Armijn Hemel
fee4d3f929 update to 0.6.4
svn path=/nixpkgs/trunk/; revision=5722
2006-07-16 23:03:02 +00:00
Armijn Hemel
4ce1ddab36 hurray for changing kernel interfaces!
svn path=/nixpkgs/trunk/; revision=5721
2006-07-16 22:33:10 +00:00
Armijn Hemel
95dd22417c prevent the kernel modules to link with the glibc headers. This is very very
tricky. D'oh!!!

svn path=/nixpkgs/trunk/; revision=5720
2006-07-16 20:05:23 +00:00
Armijn Hemel
6f330b4a99 apparently Makefile.cpu is also needed these days
svn path=/nixpkgs/trunk/; revision=5719
2006-07-16 18:57:45 +00:00
Armijn Hemel
18104bd4e9 new version of ov511 drivers, includes new kernel patch. Yay.
svn path=/nixpkgs/trunk/; revision=5718
2006-07-16 17:46:11 +00:00
Armijn Hemel
b9f6522b7c update from 2.6.17.5 to 2.6.17.6. They are releasing kernels so fast that
2.6.17.4 was still the latest on ftp.nluug.nl when 2.6.17.6 was released :S

svn path=/nixpkgs/trunk/; revision=5717
2006-07-16 00:32:02 +00:00
Armijn Hemel
8b53847880 new kernel (yet another security update)
svn path=/nixpkgs/trunk/; revision=5716
2006-07-15 16:36:03 +00:00
Armijn Hemel
96ec0645aa another security update -> 2.6.17.4
svn path=/nixpkgs/trunk/; revision=5652
2006-07-07 13:12:41 +00:00
Armijn Hemel
569bd692f3 update to 2.6.17.3 (security bugs)
svn path=/nixpkgs/trunk/; revision=5573
2006-07-04 13:41:23 +00:00
Armijn Hemel
aeef0073b9 upgrade to 4.0.16, remove builder, since it was just doing a genericBuild
svn path=/nixpkgs/trunk/; revision=5535
2006-06-29 11:32:42 +00:00
Armijn Hemel
d4643c2a7f update to 0.30
svn path=/nixpkgs/trunk/; revision=5526
2006-06-25 00:44:53 +00:00
Armijn Hemel
901f950aef new kernel, uses mktemp, use gcc34 for now (but this can probably be changed to 4.1.1, just being conservative here)
svn path=/nixpkgs/trunk/; revision=5525
2006-06-24 23:24:42 +00:00
Armijn Hemel
20f0975461 a config for 2.6.17.1
svn path=/nixpkgs/trunk/; revision=5522
2006-06-24 21:03:32 +00:00
Armijn Hemel
7793f28f0f upgrade e2fsprogs to 1.39
svn path=/nixpkgs/trunk/; revision=5517
2006-06-24 15:58:25 +00:00
Armijn Hemel
3be153c62c new version of syslinux, 3.10 already fixed gcc 4 fixes...
svn path=/nixpkgs/trunk/; revision=5503
2006-06-23 15:09:14 +00:00
Armijn Hemel
e710b4b795 remove dependency on /usr/bin/install, replace it simply with install. Discovered in NixOS (yay)
svn path=/nixpkgs/trunk/; revision=5235
2006-04-28 13:16:52 +00:00
Armijn Hemel
3a74eda996 new udev
svn path=/nixpkgs/trunk/; revision=5234
2006-04-28 13:00:35 +00:00
Armijn Hemel
825adc16b6 patch patch, to avoid that "install" wants to set owner and group
svn path=/nixpkgs/trunk/; revision=5216
2006-04-25 17:47:46 +00:00
Armijn Hemel
920ff11c96 fix the impurity error. However, this introduces another error. Apparently
there is some difference between "install" on my FC3 machine and "install"
in coreutils in Nix:

building install_man
install -o root -g root -m 644 sysklogd.8 /nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8
install: cannot change ownership of `/nix/store/x03w5xpzcya04b4ax47lic2ahnf479nz-sysklogd-1.4.1/usr/share/man/man8/sysklogd.8': Operation not permitted
make: *** [install_man] Error 1


svn path=/nixpkgs/trunk/; revision=5035
2006-03-14 15:30:00 +00:00
Eelco Dolstra
f08241e5fe * Fix for i915 after X.org upgrade.
svn path=/nixpkgs/trunk/; revision=4934
2006-02-28 21:04:14 +00:00
Armijn Hemel
2fc2b12ea1 add iproute. This tool is use increasingly instead of ifconfig and friends.
It also allows us to reuse network initialization scripts from other distributions more easily

svn path=/nixpkgs/trunk/; revision=4826
2006-02-16 16:25:03 +00:00
Eelco Dolstra
ce92a4d1b1 * NVidia support.
svn path=/nixpkgs/trunk/; revision=4628
2006-01-30 21:59:28 +00:00
Eelco Dolstra
9f898a586b * Copy even more files (in particular from losser.st-lab.cs.uu.nl,
can't assume that it will live forever).

svn path=/nixpkgs/trunk/; revision=4624
2006-01-30 16:11:00 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
37d1db32f0 upgrade to 0.172
svn path=/nixpkgs/trunk/; revision=4621
2006-01-30 15:42:01 +00:00
Eelco Dolstra
105150e281 * Added rss-glx, a collection of nice OpenGL screensavers.
svn path=/nixpkgs/trunk/; revision=4614
2006-01-28 02:10:26 +00:00
Eelco Dolstra
410f21887a * A quick hack to get accelerated OpenGL working: just use the driver
in /usr/lib/libGL.so.1 (which will typically load a driver in
  /usr/X11R6/lib/modules/dri).  This has been tested on a i915
  graphics card; it should work with most open source X.org drivers.
  For NVidia's proprietary drivers (which we cannot build ourselves
  anyway), some more symlinks are necessary; I'll add those later.

  So to get hardware-accelerated Quake 3, do:

  $ nix-env -p /nix/var/nix/profiles/opengl -i xorg-sys-opengl
  $ nix-env -i quake3-demo
  $ quake3

svn path=/nixpkgs/trunk/; revision=4613
2006-01-28 01:13:31 +00:00
Eelco Dolstra
14fbcfa64c * ALSA library updated to 1.0.10.
svn path=/nixpkgs/trunk/; revision=4610
2006-01-27 23:48:28 +00:00
Armijn Hemel
13d2ab0322 add driver for the Logitech quickcam USB webcam
svn path=/nixpkgs/trunk/; revision=4572
2006-01-17 17:03:53 +00:00
Armijn Hemel
54f4af6054 don't forget findutils
svn path=/nixpkgs/trunk/; revision=4567
2006-01-16 17:30:56 +00:00
Armijn Hemel
c1679931f7 delete this file (even though it should not be present at all. Probably a
braino on my side)

svn path=/nixpkgs/trunk/; revision=4566
2006-01-16 17:19:36 +00:00
Armijn Hemel
c2bf8c47bc svn path=/nixpkgs/trunk/; revision=4565 2006-01-16 17:18:43 +00:00
Armijn Hemel
488dc36428 move kernelscripts to nixpkgs
svn path=/nixpkgs/trunk/; revision=4564
2006-01-16 17:12:42 +00:00
Armijn Hemel
9821900e30 d'oh...typo
svn path=/nixpkgs/trunk/; revision=4514
2006-01-07 23:18:00 +00:00
Armijn Hemel
2a4c103834 more impurities
svn path=/nixpkgs/trunk/; revision=4513
2006-01-07 23:13:50 +00:00
Armijn Hemel
1399888c50 remove another impurity (/bin/rm -> $coreutils/bin/rm)
svn path=/nixpkgs/trunk/; revision=4512
2006-01-07 23:00:07 +00:00
Armijn Hemel
9654bf717f rename a patch (we patch a lot more than the location of bash) and fix another
location...

svn path=/nixpkgs/trunk/; revision=4510
2006-01-07 22:16:37 +00:00
Armijn Hemel
55e923de73 actually replace @coreutils@ with the path to coreutils
svn path=/nixpkgs/trunk/; revision=4509
2006-01-07 18:09:18 +00:00
Armijn Hemel
b02e8f3423 last pathfix...for now...
svn path=/nixpkgs/trunk/; revision=4500
2006-01-05 19:45:06 +00:00
Armijn Hemel
7fbc6a9e54 more path fixes...
svn path=/nixpkgs/trunk/; revision=4499
2006-01-05 19:39:31 +00:00
Armijn Hemel
1674963479 PATH screws up quite a bit...fix this...
svn path=/nixpkgs/trunk/; revision=4498
2006-01-05 19:30:22 +00:00
Armijn Hemel
f3ee45412f argh, substitute the right way
svn path=/nixpkgs/trunk/; revision=4497
2006-01-05 18:18:41 +00:00
Armijn Hemel
057ef85775 apparently uname is used in a few more scripts. Expect more updates to this
package, since it is rather keen on hardcoded paths, also to configuration
information and where it can find scripts. However, testing has to be done
on NixOS, making the process a bit slow...ish...

svn path=/nixpkgs/trunk/; revision=4496
2006-01-05 17:55:52 +00:00
Armijn Hemel
a5a7f117c6 use the right path for env
svn path=/nixpkgs/trunk/; revision=4495
2006-01-05 17:45:15 +00:00
Armijn Hemel
f46b1352fd use correct sed commands
svn path=/nixpkgs/trunk/; revision=4494
2006-01-05 17:41:15 +00:00
Armijn Hemel
b21d747280 hotplug uses some tools from gnused and coreutils
svn path=/nixpkgs/trunk/; revision=4493
2006-01-05 17:38:12 +00:00
Armijn Hemel
d36b6a1898 patch hotplug so we won't need /bin/bash. I'm not sure how free of bashisms
these scripts are, so using /bin/sh instead is no option...

svn path=/nixpkgs/trunk/; revision=4492
2006-01-05 16:31:29 +00:00
Armijn Hemel
050fd281cd add usbutils
svn path=/nixpkgs/trunk/; revision=4491
2006-01-04 23:29:29 +00:00
Armijn Hemel
55068cef8a we don't have /usr/bin/install on NixOS, so remove this path
svn path=/nixpkgs/trunk/; revision=4489
2006-01-04 23:08:50 +00:00
Armijn Hemel
f6e4235c6b add ov511 kernel driver. This is for testing purposes. What we do is we build
the module and install it under $out/lib/modules/$kernelversion/ ...

Eventually we will make tons of symlinks from /lib/modules/$kernelversion
to this location, so we can safely run tools like depmod and friends.
I believe this is the least ugly hack to make it work.

svn path=/nixpkgs/trunk/; revision=4486
2006-01-03 15:49:54 +00:00
Armijn Hemel
c2115654b9 add for powerpc, switch to 2.6.14.5 (don't panic, this is a seperate branch)
svn path=/nixpkgs/trunk/; revision=4476
2006-01-01 02:15:33 +00:00
Armijn Hemel
cca5dc0b57 add sparc-linux
svn path=/nixpkgs/trunk/; revision=4471
2005-12-31 16:28:49 +00:00
Armijn Hemel
bcfef16b46 make the headers more generic, so we can also do things like MIPS.
svn path=/nixpkgs/trunk/; revision=4466
2005-12-31 14:31:16 +00:00
Armijn Hemel
b768475a3a don't strip the binaries in $out/bin and $out/sbin. strip doesn't recognize
the format of one of the files (a shellscript) and thus returns an error
code, which can safely be ignored, but from which Nix will conclude the build
has failed.

svn path=/nixpkgs/trunk/; revision=4454
2005-12-28 13:00:09 +00:00
Armijn Hemel
0ee2f324cc update to 1.38. Weird: this version doesn't want to build with dietlibc,
should find out why...

svn path=/nixpkgs/trunk/; revision=4452
2005-12-28 02:53:56 +00:00
Armijn Hemel
53c0ae3af3 add a static version of module-init-tools for NixOS
svn path=/nixpkgs/trunk/; revision=4427
2005-12-24 00:25:18 +00:00
Armijn Hemel
4f0314a553 update to 3.2.2
svn path=/nixpkgs/trunk/; revision=4426
2005-12-23 23:25:11 +00:00
Armijn Hemel
ef883ffda8 add a static version of util-linux for NixOS
svn path=/nixpkgs/trunk/; revision=4425
2005-12-23 23:20:49 +00:00
Armijn Hemel
6e80370dfe update util-linux to 2.12r
svn path=/nixpkgs/trunk/; revision=4424
2005-12-23 22:59:33 +00:00
Armijn Hemel
ae11cdc41e add the builder. Due to brain failure a "make install" does not install the
kudzu tools, we need make install-program for that. We do this in preInstall. Maybe not the right place, but what the heck...

svn path=/nixpkgs/trunk/; revision=4420
2005-12-23 19:25:58 +00:00
Armijn Hemel
7e6f127abb fix python includes
svn path=/nixpkgs/trunk/; revision=4419
2005-12-23 18:56:33 +00:00
Armijn Hemel
0ea291d760 add kudzu, needed for hardware detection in NixOS...
svn path=/nixpkgs/trunk/; revision=4418
2005-12-23 15:58:41 +00:00
Armijn Hemel
7fc7663074 right...so *first* test before submitting :S
svn path=/nixpkgs/trunk/; revision=4366
2005-12-13 15:53:14 +00:00
Armijn Hemel
ed1d78bc52 we need a far bigger patch, so procps won't delete our /dev/null (bizarre!!!)
svn path=/nixpkgs/trunk/; revision=4365
2005-12-13 15:49:13 +00:00
Armijn Hemel
4733044ddb also don't build uptime, we use this from coreutils instead...
svn path=/nixpkgs/trunk/; revision=4364
2005-12-13 15:27:02 +00:00
Armijn Hemel
8863466ce7 don't build "kill", update to 3.2.6
svn path=/nixpkgs/trunk/; revision=4363
2005-12-13 15:14:42 +00:00
Armijn Hemel
01b1cb166c add a lot of initscript stuff from Fedora. This way we can copy scripts mostly one on one :)
The scripts (especially $out/etc/rc.d/init.d/functions) still need some work to eliminate hard paths...

svn path=/nixpkgs/trunk/; revision=4355
2005-12-12 17:03:54 +00:00
Eelco Dolstra
94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Armijn Hemel
7589df67ae update to version 3.2.1
svn path=/nixpkgs/trunk/; revision=4334
2005-12-04 21:23:52 +00:00
Armijn Hemel
0cf7a93827 add kernel headers for ARM
svn path=/nixpkgs/trunk/; revision=4316
2005-11-28 22:03:13 +00:00
Eelco Dolstra
1d1d38a3b6 * Doh!
svn path=/nixpkgs/trunk/; revision=4183
2005-11-01 12:11:12 +00:00
Armijn Hemel
79284f193f add right configureFlags so we also have the header files
svn path=/nixpkgs/trunk/; revision=4134
2005-10-25 23:14:48 +00:00
Armijn Hemel
0fb522de95 don't use /bin/ls, but rely on the build environment to supply ls
svn path=/nixpkgs/trunk/; revision=4131
2005-10-25 17:57:05 +00:00
Armijn Hemel
c82afd131d add a patch to use the cracklib dictionairy we built (cracklib package)
svn path=/nixpkgs/trunk/; revision=4130
2005-10-25 17:39:55 +00:00
Armijn Hemel
e4453149f9 add a patch that replaces /bin/pwd with pwd and rely on stdenv to supply pwd
svn path=/nixpkgs/trunk/; revision=4125
2005-10-24 16:36:03 +00:00
Armijn Hemel
5c6e1efa41 add pam (but first test it on NixOS too)
svn path=/nixpkgs/trunk/; revision=4124
2005-10-24 16:07:50 +00:00
Armijn Hemel
154fbad053 hnnnnnng, don't forget the patch
svn path=/nixpkgs/trunk/; revision=4105
2005-10-18 21:53:16 +00:00
Armijn Hemel
9503bb2d55 hardcode path to $out/sbin/shutdown in the binary
svn path=/nixpkgs/trunk/; revision=4104
2005-10-18 21:51:59 +00:00
Armijn Hemel
41c7e3457b rewrite old builder to new style builder (long overdue!)
svn path=/nixpkgs/trunk/; revision=4103
2005-10-18 21:25:57 +00:00
Armijn Hemel
c6bbe9d029 do a chmod +x for the wrapper script (also: try to rewrite it using
makeWrapper once more)

svn path=/nixpkgs/trunk/; revision=4086
2005-10-14 10:37:31 +00:00
Eelco Dolstra
552de99c19 * Update a bunch of base packages.
svn path=/nixpkgs/trunk/; revision=4065
2005-10-11 14:29:30 +00:00
Eelco Dolstra
bdabd66a46 * Install ncurses header files in $out/include, not
$out/include/ncurses.  This simplifies many builders.

svn path=/nixpkgs/trunk/; revision=4008
2005-10-04 14:24:19 +00:00
Armijn Hemel
4ffb194541 delete old unnecessary (and confusing!) cruft
svn path=/nixpkgs/trunk/; revision=3954
2005-09-28 14:07:26 +00:00
Armijn Hemel
b9a0811148 add fix for braindead module.h, so it can compile with our glibc kernel headers
svn path=/nixpkgs/trunk/; revision=3953
2005-09-28 14:06:10 +00:00
Armijn Hemel
c712f37636 add ugly builder to ensure some paths are set. This should actually be fixed in the Makefile...ah, laziness...
svn path=/nixpkgs/trunk/; revision=3794
2005-09-07 16:21:23 +00:00
Armijn Hemel
059d1d391b add default Nix expression and patch for sysklogd. The patch allows sysklogd to
be compiled against kernel headers for the Linux 2.6 kernel. As it turns out
many, if not all, distributions use 2.4 kernel headers for glibc. From my
Fedora Core 3 system:

$ rpm -qf /usr/include/linux/time.h
glibc-kernheaders-2.4-9.1.87

The thing is that compilation now barfs, because some constants are needed
that are defined in <linux/autoconf.h> which is empty the way we generate
the kernel headers currently in nixpkgs. The source tree needs to be
configured. Another challenge to solve :)


svn path=/nixpkgs/trunk/; revision=3784
2005-09-06 22:39:03 +00:00
Armijn Hemel
1c9be16b51 add eject, but remove the po subdir
svn path=/nixpkgs/trunk/; revision=3766
2005-09-01 16:38:31 +00:00
Armijn Hemel
a849cb0704 add sound support
svn path=/nixpkgs/trunk/; revision=3743
2005-08-29 16:13:50 +00:00
Eelco Dolstra
0ff65fba1a * ALSA utilities (for `alsamixer' etc.).
svn path=/nixpkgs/trunk/; revision=3742
2005-08-29 15:56:55 +00:00
Armijn Hemel
3ccc0014b6 remove debugline
svn path=/nixpkgs/trunk/; revision=3735
2005-08-28 10:18:30 +00:00
Armijn Hemel
eefd0d1745 This is what happens when you do a normal "cp -a" instead of a "svn cp". Argh. Can somebody please bring out the LART?
svn path=/nixpkgs/trunk/; revision=3733
2005-08-28 00:30:53 +00:00
Armijn Hemel
9bc5482790 e2fsprogs-diet
svn path=/nixpkgs/trunk/; revision=3732
2005-08-28 00:20:16 +00:00
Armijn Hemel
1de7c2e4ba add dietlibc-wrapper
svn path=/nixpkgs/trunk/; revision=3730
2005-08-28 00:18:26 +00:00
Armijn Hemel
981a1f0f6e add dietlibc
svn path=/nixpkgs/trunk/; revision=3729
2005-08-27 23:05:50 +00:00
Armijn Hemel
a816f506a2 add klibc
svn path=/nixpkgs/trunk/; revision=3723
2005-08-27 20:48:05 +00:00
Armijn Hemel
36c969565f add
svn path=/nixpkgs/trunk/; revision=3721
2005-08-27 17:58:07 +00:00
Armijn Hemel
fb7710c197 add hwdata (from Debian)
svn path=/nixpkgs/trunk/; revision=3685
2005-08-24 17:13:24 +00:00
Armijn Hemel
9a4f2b9036 embed Nix generated hash into kernel image and module path
svn path=/nixpkgs/trunk/; revision=3672
2005-08-23 19:13:00 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Armijn Hemel
d6b17b5edc add module-init-tools
svn path=/nixpkgs/trunk/; revision=3649
2005-08-20 21:49:31 +00:00
Armijn Hemel
28fb3fd105 random commit (really, I forgot what was changed, not much)
svn path=/nixpkgs/trunk/; revision=3648
2005-08-20 17:40:37 +00:00
Armijn Hemel
52317f9a3e add no-op if some files aren't there for copying (and reintroduce "exit 1" for now)
svn path=/nixpkgs/trunk/; revision=3647
2005-08-19 23:09:42 +00:00
Armijn Hemel
d91be5b200 remove "exit 1" so our build will succeed
svn path=/nixpkgs/trunk/; revision=3646
2005-08-19 22:55:22 +00:00
Armijn Hemel
14c5ad8353 copy all the stuff that is needed for external modules to the store. Ripped
from Fedora.

svn path=/nixpkgs/trunk/; revision=3645
2005-08-19 22:43:51 +00:00
Armijn Hemel
6d64c06316 add quotes
svn path=/nixpkgs/trunk/; revision=3644
2005-08-19 22:43:17 +00:00
Armijn Hemel
d298fd94f9 add arch argument, needed to copy right things eventually
svn path=/nixpkgs/trunk/; revision=3642
2005-08-19 22:03:44 +00:00
Armijn Hemel
76f3ff54cd also remove "i386" from the name. This wasn't accurate anyway, because we
were building for the i686 hardware platform and not for i386.

svn path=/nixpkgs/trunk/; revision=3641
2005-08-19 18:18:21 +00:00
Armijn Hemel
be8d5607f5 make the versions match...
svn path=/nixpkgs/trunk/; revision=3640
2005-08-19 18:15:56 +00:00
Armijn Hemel
97dfe971f7 add udev
svn path=/nixpkgs/trunk/; revision=3636
2005-08-19 14:11:05 +00:00
Armijn Hemel
e5db73bd73 add Linux hot-plug
svn path=/nixpkgs/trunk/; revision=3626
2005-08-17 17:37:55 +00:00
Armijn Hemel
d69b455cbc add a builder for e2fsprogs, so that an essential header file also gets installed
svn path=/nixpkgs/trunk/; revision=3489
2005-07-31 21:16:15 +00:00
Armijn Hemel
e60679df47 build libraries too (needed for tools like parted)
svn path=/nixpkgs/trunk/; revision=3486
2005-07-31 20:39:05 +00:00
Armijn Hemel
6fab88924c use generic builder instead
svn path=/nixpkgs/trunk/; revision=3479
2005-07-31 11:24:26 +00:00
Armijn Hemel
b31122acd2 patch to correct installpaths (untested yet)
svn path=/nixpkgs/trunk/; revision=3478
2005-07-30 18:54:24 +00:00
Armijn Hemel
4d22b61278 remove old crap
svn path=/nixpkgs/trunk/; revision=3452
2005-07-26 13:23:47 +00:00
Armijn Hemel
6ea30e97e5 add builder and expression for syslinux. "make install" still barfs, needs patching...
svn path=/nixpkgs/trunk/; revision=3430
2005-07-25 16:58:57 +00:00
Eelco Dolstra
95529accd7 * ALSA library 1.0.9.
svn path=/nixpkgs/trunk/; revision=3321
2005-07-12 14:22:28 +00:00
Armijn Hemel
3440fd020c replace iputils with a slightly older version to avoid SSL based tools being
built. Still missing are security patches though, these should be ripped
from the Fedora SRPMs...

svn path=/nixpkgs/trunk/; revision=3288
2005-07-04 12:14:06 +00:00
Armijn Hemel
078e602efc add mingetty
svn path=/nixpkgs/trunk/; revision=3250
2005-06-23 13:54:34 +00:00
Eelco Dolstra
a450978f26 * Glibc updated to 2.3.5.
* GCC 3.4.4 and 3.3.6.
* Other stdenv packages updated.

svn path=/nixpkgs/trunk/; revision=3188
2005-06-17 10:30:13 +00:00
Armijn Hemel
1e5e23ce5d don't forget to actually install modules
svn path=/nixpkgs/trunk/; revision=3185
2005-06-16 23:33:59 +00:00
Armijn Hemel
30632d1655 install kernel in the store (whoops, forgot to install modules :S )
svn path=/nixpkgs/trunk/; revision=3183
2005-06-15 14:21:48 +00:00
Armijn Hemel
960fea4002 strip kernel config very heavily
svn path=/nixpkgs/trunk/; revision=3182
2005-06-15 13:03:24 +00:00
Armijn Hemel
ef94be2ae1 first stub for kernel compilations. Still a lot missing, doesn't install
everything correctly, the config currently compile quite a bit (too much for
quick tests). This will change.

 --This line, and those below, will be ignored--

A    linux/kernel
A    linux/kernel/builder.sh
A    linux/kernel/default.nix
A    linux/kernel/config

svn path=/nixpkgs/trunk/; revision=3181
2005-06-15 12:30:34 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
6ec09d7357 * E2fsprogs updated to 1.36.
svn path=/nixpkgs/trunk/; revision=2372
2005-03-10 16:03:19 +00:00
Eelco Dolstra
78ef3030fe * Util-linux updated to 2.12q.
svn path=/nixpkgs/trunk/; revision=2369
2005-03-10 15:32:24 +00:00
Eelco Dolstra
25ab1079f9 * Use Linux 2.6.10 headers. 2.6.9 gives parse errors in some
applications (e.g.,
  `...glibc-2.3.4/include/linux/byteorder/little_endian.h:43: error:
  parse error before "__cpu_to_le64p"').

svn path=/nixpkgs/trunk/; revision=2289
2005-02-23 14:13:27 +00:00
Eelco Dolstra
7322689c3b * Alsa-lib updated to 1.0.8.
svn path=/nixpkgs/trunk/; revision=2284
2005-02-23 10:29:06 +00:00
Eelco Dolstra
e6744d0f89 * Merge diff between trunk/pkgs@1646 and branches/nixos-pkgs@2256;
this contains mostly Armijn's pure stdenv-linux.

* After unpacking the statically linked GCC, patch all store paths to
  /nix/store/ffffffffffffffffffffffffffffffff.  Ugly hack to prevent
  undeclared references but it works.

* We don't need Glib's dynamic libraries in the first bootstrap stage;
  delete them.  Actually the downloaded Glibc binary is only needed
  for building Glibc, since GCC needs a C compiler to build some
  programs in `configure'.  So static linking is fine for that.  Maybe
  it would be better to patch `configure' so that we don't need a
  pre-built Glibc at all.

* Set the svn:executable property on `cp' and `patchelf'.

* In Glibc, revert to LinuxThreads.  Maybe NPTL will work, but TLS
  support is a problem.

* Delete most Glibc patches; they're no longer needed since the branch
  updated it to 20050110.
  
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=2258
2005-02-21 16:03:34 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
e03984abda * Ugh, the procps at surriel was ancient. Updated to 3.2.4.
svn path=/nixpkgs/trunk/; revision=2081
2005-01-21 18:35:06 +00:00
Eelco Dolstra
bd4b67cf1f * Added procps 2.0.11 (for `ps', mostly).
svn path=/nixpkgs/trunk/; revision=2080
2005-01-21 18:24:25 +00:00
Armijn Hemel
4b16211201 use new kernel headers
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2053
2005-01-18 13:16:42 +00:00
Armijn Hemel
5be8b1821a upgrade to a newer version of shadowutils
2000th commit!!!

svn path=/nixpkgs/branches/nixos-pkgs/; revision=2000
2005-01-10 14:05:14 +00:00
Armijn Hemel
66ea9ba4e7 patch net-tools to make it work nicely with gcc-3.4
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1898
2004-12-17 13:49:04 +00:00
Armijn Hemel
1eb961902f fix download location
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1887
2004-12-16 17:45:31 +00:00
Armijn Hemel
bb632c07ef add modutils for kernel 2.4.25
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1885
2004-12-16 16:34:03 +00:00
Armijn Hemel
1182b31a47 use ftp.nluug.nl for downloading kernel instead of ftp.de.kernel.org, it's, for some reason, not always possible to download from the latter
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1835
2004-12-06 17:15:53 +00:00
Armijn Hemel
45a8365946 upgrade to 4.0.6, so it plays nice with other packages, changed header files, whatever...
svn path=/nixpkgs/trunk/; revision=1729
2004-11-09 09:55:59 +00:00
Armijn Hemel
35cf2df53e download URL for shadowutils changed
svn path=/nixpkgs/trunk/; revision=1727
2004-11-09 09:27:50 +00:00
Armijn Hemel
dbecea0365 gcc-3.4 doesn't like empty labels in a switch statement...
svn path=/nixpkgs/trunk/; revision=1722
2004-11-08 14:30:56 +00:00
Eelco Dolstra
dde13d1ada * Remove patch arguments.
svn path=/nixpkgs/trunk/; revision=1462
2004-09-19 10:34:01 +00:00
Armijn Hemel
38f6f36889 add shadowutils, with the following limitations:
- tools can only be run as root, because there's no store support for UNIX permissions

svn path=/nixpkgs/trunk/; revision=1361
2004-08-30 11:44:51 +00:00
Armijn Hemel
d45b352ba7 remove debug statement which caused the build to fail (intentionally by the way for debugging purposes). Now it does install fine...
svn path=/nixpkgs/trunk/; revision=1236
2004-08-05 19:32:58 +00:00
Armijn Hemel
5c18319127 iputils, as used in Red Hat Linux (there are a few flavours around apparently).
*** BIG FAT WARNING ***

Right now these tools can only be used as root, because they are normally
installed SUID root!

svn path=/nixpkgs/trunk/; revision=1234
2004-08-05 19:30:00 +00:00
Armijn Hemel
f063d8c4db - add mktemp
- disable tiger, strategoxt, they don't work and give errors
- ftp.nl.kernel.org seems to have some problems, replaced with ftp.de.kernel.org
should be put back eventually

svn path=/nixpkgs/trunk/; revision=1215
2004-08-03 15:41:08 +00:00
Eelco Dolstra
8776ba127c * Updated some more packages. However, bittorrent and vlc don't work
right now because wxGTK is broken (it depends on internal symbols in
  GTK which where made private in GTK 2.4).

svn path=/nixpkgs/trunk/; revision=907
2004-04-02 15:36:14 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra
1b39a96d37 * Create a dummy linux/autoconf.h, which is needed by linux/config.h.
* Updated to 2.4.25.

svn path=/nixpkgs/trunk/; revision=819
2004-03-09 10:28:31 +00:00
Eelco Dolstra
e5fd37f35d * Added net-tools (for ifconfig, route, hostname).
svn path=/nixpkgs/trunk/; revision=805
2004-02-19 12:46:35 +00:00
Eelco Dolstra
e535bc8ad0 * Added e2fsprogs (for e2fsck).
svn path=/nixpkgs/trunk/; revision=788
2004-02-16 14:31:52 +00:00
Eelco Dolstra
500a06b8a9 * Added sysvinit (mostly because it provides a decent `halt'
command).

svn path=/nixpkgs/trunk/; revision=787
2004-02-16 14:09:55 +00:00
Eelco Dolstra
a33753a973 * Added util-linux (for mount etc.).
svn path=/nixpkgs/trunk/; revision=786
2004-02-16 10:40:45 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00