nixpkgs/pkgs/os-specific/linux
Lluís Batlle i Rossell 11aa65c28a Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.

I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.

This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.

The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).

I will update nixos accordingly to these changes, for non-PC platforms to work.

I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.

Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.

The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).

The platform attributes are quite linux centric still. Let's hope for more generality to come.

svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
..
915resolution
acpi * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
acpid Updating acpid. 2010-02-11 18:59:58 +00:00
acpitool * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
afuse adding afuse. A userspace automounter 2009-12-21 08:55:27 +00:00
alsa-lib second part of alsaLib patch + comment 2010-01-18 19:15:36 +00:00
alsa-plugins pass jackaudio to alsaPlugins also adding convinient wrapper script 2009-09-21 15:55:26 +00:00
alsa-utils * Updated ALSA. 2009-10-30 15:05:13 +00:00
atheros * Removed selectVersion. There's no good reason to write 2009-11-18 09:39:59 +00:00
aufs Reverting AUFS update 2009-07-16 11:39:03 +00:00
aufs2 Fix more problems with aufs2 2009-09-14 13:30:33 +00:00
aufs2-utils Fix aufs utilities for NixOS manual 2009-09-15 10:28:40 +00:00
autofs Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
blcr FullDepEntry -> fullDepEntry, PackEntry -> packEntry 2009-05-19 23:25:58 +00:00
bluez * Bluez 4.54. 2009-09-28 16:25:38 +00:00
bridge_utils Nix-expr style review 2008-01-31 10:41:04 +00:00
cpufrequtils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
cramfsswap update to 1.4.1 2008-03-03 21:37:55 +00:00
cryopid New version of cryopid. 2009-11-08 10:38:07 +00:00
cryptsetup * Replace usage of 'udevsettle' by 'udevadm settle' in cryptsetup. 2010-01-03 11:01:58 +00:00
dietlibc * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
directvnc Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems 2009-11-05 21:10:51 +00:00
dmidecode * dmidecode 2.10. 2009-08-11 20:43:39 +00:00
dmraid Adding dmraid 2009-09-20 08:38:30 +00:00
dmtcp Updated nixpkgs/pkgs/os-specific/linux/dmtcp 2010-02-23 16:00:37 +00:00
e3cfsprogs New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools 2008-03-09 20:06:42 +00:00
eject
exmap Add Exmap, a Linux-specific tool to examine process memory usage. 2008-09-12 20:00:00 +00:00
ext3cow-tools New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools 2008-03-09 20:06:42 +00:00
fbterm Updating fbterm 2009-10-27 23:49:59 +00:00
firmware Add Firmware for the Intel 1000 wireless card. 2009-12-26 16:22:51 +00:00
fuse * fuse updated to 2.8.2. 2010-02-01 17:08:35 +00:00
fxload * fxload: make it work with recent kernels. 2008-06-20 16:08:03 +00:00
gw6c Gw6c tarball is now uncompessed.. Do not ask me why 2009-09-29 16:22:23 +00:00
hal Fix propagated dependencies in hal 2010-02-18 15:44:01 +00:00
hdparm * hdparm 8.7. 2008-06-07 12:20:19 +00:00
hibernate hibernate: Fix impurities. 2008-04-01 17:31:31 +00:00
htop htop: updated to version 0.8.3 2009-09-22 19:37:18 +00:00
hwdata
ifplugd
iproute * iproute2 updated to 2.6.29-1. 2009-07-23 21:34:53 +00:00
iptables update to 1.4.6 2009-12-25 19:36:16 +00:00
iputils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
iwlwifi * Put all packages that depend on a specific kernel (notably kernel 2008-05-22 12:01:24 +00:00
kbd Making kbd build in armv5tel-linux. gcc 4.4.3 issues a warning with it, and kbd was compiled with -Werror. 2010-01-29 21:30:09 +00:00
kernel Simplified much more the expressions for cross building and multiplatform. 2010-02-27 17:35:47 +00:00
kernel-headers After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
kernel-headers-cross * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
keyutils Adding ecryptfs, and one of its dependencies: keyutils. 2010-01-25 10:34:47 +00:00
klibc Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
kqemu Fix the cleanup-induced problems 2009-11-23 12:21:34 +00:00
kudzu * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
kvm Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
libcap * Merged the stdenv branch 2008-06-13 11:46:39 +00:00
libnscd
libselinux
libsepol
libsmbios * Latest libsmbios. 2009-09-28 15:33:42 +00:00
libvolume_id * HAL 0.5.10. 2008-03-06 13:06:32 +00:00
lm_sensors * Latest lm_sensors. 2009-09-15 22:06:38 +00:00
lvm2 * Updated LVM2 to 2.02.56. LVM2 now includes device-mapper, so that 2010-01-07 16:14:10 +00:00
mdadm
mingetty * mingetty 1.08. 2009-01-27 14:14:42 +00:00
module-init-tools * Module aggregator: use buildEnv, which is much faster because it 2009-04-20 19:13:40 +00:00
modutils
mount-cifs * Fixed the mount-cifs source URL (copied from the stdenv-branch). 2009-04-09 08:12:16 +00:00
ndiswrapper Added perl dependency to ndiswrapper 2008-06-15 17:30:34 +00:00
net-tools * Fix broken meta attributes. 2009-10-13 09:39:27 +00:00
nfs-utils * util-linux-ng: updated to 2.16. Don't build a separate mount 2009-08-11 20:57:29 +00:00
nss_ldap * Merged the stdenv branch 2008-06-13 11:46:39 +00:00
numactl numactl: Fix post-install. 2008-04-18 14:46:29 +00:00
nvidia-x11 Updating the nvidia drivers to the latest version. 2009-12-18 11:36:36 +00:00
opengl/xorg-sys svn path=/nixpkgs/trunk/; revision=12090 2008-06-14 17:06:39 +00:00
ov511 * Get rid of all references to nix.cs.uu.nl. 2008-11-14 16:57:19 +00:00
pam * Various PAM updates. 2009-02-18 11:40:32 +00:00
pam_console * Got rid of all --disable-static flags; they're redundant now. 2009-04-21 23:18:09 +00:00
pam_devperm
pam_ldap
pam_login Made pam_login build with gcc 4.4 (disabling its -Werror) 2009-12-26 11:18:59 +00:00
pam_unix2 Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it. 2010-02-04 18:40:54 +00:00
pam_usb * Add pam_usb package. 2010-01-03 11:12:05 +00:00
pcmciautils pcmcia-utils: 2008-08-27 13:59:33 +00:00
pm-utils * Use /etc/pm for the configuration. 2009-09-26 17:09:51 +00:00
pmount * Add pmount package. 2010-01-03 11:10:22 +00:00
powertop bump powertop to 1.11 2009-03-09 13:53:48 +00:00
procps
pwdutils
qc-usb
qemu-kvm * qemu-kvm: link against libuuid. 2010-02-01 18:44:08 +00:00
radeontools Nix-expr style review 2008-01-31 10:41:04 +00:00
sdparm * sdparm: the previous URL was broken. 2009-04-16 12:23:53 +00:00
shadow
splashutils * Removed splashutils 1.3 (obsolete). 2010-01-27 14:35:38 +00:00
statifier Adding statifier, a tool to make pseudostatic binaries. Unfortunately, statified NixOS-built binaries segfault on Ubuntu.. 2009-07-09 21:34:29 +00:00
sysfsutils Add sysfsutils. 2008-07-25 15:53:23 +00:00
sysklogd
syslinux
sysstat * sysstat 8.0.4.1. 2008-08-07 11:15:11 +00:00
sysvinit * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
tcp-wrapper TCP Wrappers: Use the Debian patches. 2009-02-26 09:53:31 +00:00
tunctl Adding tunctl. I didn't know how to build the manpage, though. 2009-03-01 21:34:39 +00:00
uclibc Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
udev A case study in transitive overrides. WebKit needs fresh glib. This means it needs a whole slice of system built against glib-2.22.. Added overrides are generic enough, though. So the same way can be used to override everything. I have failed (so far?) to add mkOverridable into stdenv, though. 2009-10-06 05:43:51 +00:00
uml-utilities Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
upstart * Upstart updated to 0.6.5. 2010-02-15 15:55:39 +00:00
usbutils * usbutils updated to 0.84. 2009-08-11 20:48:56 +00:00
util-linux-ng Reverting some changes I brought in by error for util-linux-ng (I was trying 2009-12-10 15:05:26 +00:00
wireless-tools update to 29 2009-12-25 19:30:56 +00:00
wis-go7007 * wis-go7007: updated for Linux 2.6.26. 2008-08-21 07:43:38 +00:00
wpa_supplicant Updating wpa_supplicant, and enabling its possible syslog output. 2009-12-16 19:45:00 +00:00
zen-kernel Force CFS in zen-kernel not specified as BFS 2010-01-20 06:24:29 +00:00