Commit graph

429 commits

Author SHA1 Message Date
Eelco Dolstra 311dc72bf1 * Suppress localversion from kernel patches, allow the user to set
one.
* Allow the entire kernel configuration to be overridden through a
  function argument.

svn path=/nixpkgs/trunk/; revision=8699
2007-05-15 12:53:03 +00:00
Armijn Hemel 42eb388fa2 pre17 -> pre21
svn path=/nixpkgs/trunk/; revision=8690
2007-05-14 11:39:01 +00:00
Armijn Hemel 8a04982b8a add genext2fs, a tool to create ext2fs images, without having to be root
svn path=/nixpkgs/trunk/; revision=8659
2007-05-11 22:26:18 +00:00
Eelco Dolstra 34b59c1867 * Linux updated to 2.6.20.11.
* Build the kernel with the new gcc wrapper so that LINUX_COMPILER
  gets set properly (and in particular so that the kernel version
  string doesn't show "(collect2: ld returned 1 exit status)").

svn path=/nixpkgs/trunk/; revision=8645
2007-05-02 15:21:55 +00:00
Eelco Dolstra 168a93adc5 * Delete some obsolete packages.
* Make sure that every package in all-packages.nix has a unique name.
  Not all of them do, but there are now a few helper functions that
  modify the name of a package for display purposes in nix-env (e.g.,
  you get "zlib-1.2.3" and "zlib-1.2.3-static" in "nix-env -qa").

svn path=/nixpkgs/trunk/; revision=8607
2007-04-26 13:02:30 +00:00
Eelco Dolstra 2261f6d265 * Revert to Splashutils 1.3.
svn path=/nixpkgs/trunk/; revision=8582
2007-04-16 14:20:29 +00:00
Eelco Dolstra 7523c79bb8 * Splashutils 1.4.
svn path=/nixpkgs/trunk/; revision=8579
2007-04-16 10:54:28 +00:00
Eelco Dolstra 8020db073a * Linux 2.6.20.7.
svn path=/nixpkgs/trunk/; revision=8578
2007-04-16 10:29:24 +00:00
Eelco Dolstra e626055170 * Linux 2.6.20.6.
svn path=/nixpkgs/trunk/; revision=8554
2007-04-10 11:46:09 +00:00
Eelco Dolstra 277378c2a4 * Added wpa_supplicant.
svn path=/nixpkgs/trunk/; revision=8552
2007-04-08 20:20:21 +00:00
Eelco Dolstra 3833fe53c0 * Added pam_devperm.
svn path=/nixpkgs/trunk/; revision=8546
2007-04-07 19:29:59 +00:00
Eelco Dolstra 4bb17a673c svn path=/nixpkgs/trunk/; revision=8538 2007-04-04 09:28:08 +00:00
Eelco Dolstra 65e004b757 * Added kbd.
svn path=/nixpkgs/trunk/; revision=8537
2007-04-04 09:18:39 +00:00
Eelco Dolstra 9a8b115e57 * UML: purity fix (Makefile refers to /bin/bash).
svn path=/nixpkgs/trunk/; revision=8437
2007-03-28 11:21:16 +00:00
Eelco Dolstra b795dd8d44 * Fix kernel build.
svn path=/nixpkgs/trunk/; revision=8435
2007-03-28 10:28:01 +00:00
Eelco Dolstra 68d80ff094 * Get rid of the old UML, move uml-utilities to os-specific/linux.
svn path=/nixpkgs/trunk/; revision=8424
2007-03-27 11:15:10 +00:00
Eelco Dolstra a984882e0c * Updated User-Mode Linux. It's now unified with the regular (NixOS)
kernel build - just call the function with userModeLinux = true to
  get a UML binary.

svn path=/nixpkgs/trunk/; revision=8423
2007-03-27 11:11:58 +00:00
Eelco Dolstra b46531c506 * Linux 2.6.20.4.
svn path=/nixpkgs/trunk/; revision=8414
2007-03-26 09:32:57 +00:00
Armijn Hemel 5aec79e3ca add cramfsswap
svn path=/nixpkgs/trunk/; revision=8412
2007-03-24 12:01:50 +00:00
Eelco Dolstra 9d81167f77 * Added hdparm.
svn path=/nixpkgs/trunk/; revision=8344
2007-03-19 09:31:44 +00:00
Eelco Dolstra 2946af6e52 * Don't use /dev/stdout because it isn't writable when the build user doesn't own stdout.
svn path=/nixpkgs/trunk/; revision=8307
2007-03-16 16:16:59 +00:00
Eelco Dolstra bf715af18b * Grrr.
svn path=/nixpkgs/trunk/; revision=8306
2007-03-16 15:22:33 +00:00
Eelco Dolstra 8dab939a7f * New lvm2.
svn path=/nixpkgs/trunk/; revision=8305
2007-03-16 15:19:19 +00:00
Eelco Dolstra d8cd9746cb * Fix URL.
svn path=/nixpkgs/trunk/; revision=8304
2007-03-16 14:58:28 +00:00
Eelco Dolstra 4d1c976a9d * Copied Upstart 0.3.0.
svn path=/nixpkgs/trunk/; revision=8299
2007-03-16 12:58:49 +00:00
Eelco Dolstra a2db896085 * klibc 1.5.
svn path=/nixpkgs/trunk/; revision=8295
2007-03-15 14:38:39 +00:00
Eelco Dolstra 79862accc2 * Linux 2.6.20.3.
svn path=/nixpkgs/trunk/; revision=8293
2007-03-14 16:09:29 +00:00
Eelco Dolstra 2df33633a6 * Linux 2.6.20.2.
svn path=/nixpkgs/trunk/; revision=8286
2007-03-13 17:34:19 +00:00
Eelco Dolstra 4a85e66bd3 * Until the modesetting branch of the i810 driver works, we're still
stuck with 915resolution on laptops with broken BIOSes.

svn path=/nixpkgs/trunk/; revision=8222
2007-03-06 00:12:43 +00:00
Eelco Dolstra 0fdace792d * Intel PRO/Wireless 2200BG driver firmware.
svn path=/nixpkgs/trunk/; revision=8160
2007-03-03 22:58:19 +00:00
Eelco Dolstra fcab5576cb * Latest ALSA utilities.
svn path=/nixpkgs/trunk/; revision=8123
2007-03-01 00:23:30 +00:00
Eelco Dolstra 917b75e915 * Wireless tools.
svn path=/nixpkgs/trunk/; revision=8104
2007-02-28 15:50:55 +00:00
Eelco Dolstra 399b9f4cb6 * Added sysstat.
svn path=/nixpkgs/trunk/; revision=8038
2007-02-25 09:46:29 +00:00
Eelco Dolstra 5ddcfd16e0 * Don't use /bin/bash.
svn path=/nixpkgs/trunk/; revision=7895
2007-02-12 13:19:57 +00:00
Eelco Dolstra 23adbea73d * Doh!
svn path=/nixpkgs/trunk/; revision=7894
2007-02-12 13:18:21 +00:00
Eelco Dolstra 9fdea6a917 * KVM (Kernel-based Virtual Machine). Requires KVM support in the
kernel for performance (and VT/AMD-V in the CPU), but also provides
  a working QEMU for non-KVM-enabled systems.

svn path=/nixpkgs/trunk/; revision=7889
2007-02-12 10:23:43 +00:00
Eelco Dolstra c8ceb3b284 * Grmbl.
svn path=/nixpkgs/trunk/; revision=7883
2007-02-08 15:32:14 +00:00
Eelco Dolstra b78181e71d * x86_64 config.
svn path=/nixpkgs/trunk/; revision=7881
2007-02-08 14:53:53 +00:00
Eelco Dolstra 537b3ec57e * Don't use make install.
svn path=/nixpkgs/trunk/; revision=7880
2007-02-08 14:28:49 +00:00
Eelco Dolstra 0128374ab0 * Linux 2.6.20.
svn path=/nixpkgs/trunk/; revision=7879
2007-02-08 12:34:49 +00:00
Eelco Dolstra 3ceec95cb5 * Config for 2.6.20.
svn path=/nixpkgs/trunk/; revision=7877
2007-02-07 16:01:19 +00:00
Eelco Dolstra 64e5fd6b0a * Marvell PATA support (11AB:6101); the TUD buildfarm needs it.
svn path=/nixpkgs/trunk/; revision=7876
2007-02-07 15:55:59 +00:00
Eelco Dolstra f6ef342dbc * Syslinux 3.35.
svn path=/nixpkgs/trunk/; revision=7874
2007-02-07 14:15:12 +00:00
Eelco Dolstra 2fab5f01e3 * Borrowed a patch from Gentoo to get splashutils to work on x86_64.
* Latest klibc.

svn path=/nixpkgs/trunk/; revision=7871
2007-02-06 22:08:13 +00:00
Eelco Dolstra d22dd0ffef * Linux 2.6.19.3.
svn path=/nixpkgs/trunk/; revision=7860
2007-02-06 14:25:38 +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
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 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 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 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 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
Eelco Dolstra 0cf2b35d99 * LDAP NSS module for glibc.
svn path=/nixpkgs/trunk/; revision=7682
2007-01-15 16:42:04 +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 067f450909 * Added mdadm (raidtools replacement).
svn path=/nixpkgs/trunk/; revision=7627
2007-01-10 21:47:03 +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 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 2101b16d47 * FUSE 2.6.1.
svn path=/nixpkgs/trunk/; revision=7540
2007-01-06 16:32:29 +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 cd32e67b2b * Remove makeFlags/installFlags redundancy.
svn path=/nixpkgs/trunk/; revision=7501
2006-12-27 18:26:23 +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 7ca9054420 * Use substituteInPlace.
svn path=/nixpkgs/trunk/; revision=7489
2006-12-27 17:23:34 +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 33db7f3dd3 * Build ntpd with capabilities support.
svn path=/nixpkgs/trunk/; revision=7462
2006-12-22 19:22:57 +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 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 89ba1cba24 * We don't need groups from shadow.
svn path=/nixpkgs/trunk/; revision=7159
2006-11-28 15:45:41 +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 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 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 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 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 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