3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

1235 commits

Author SHA1 Message Date
David Guibert c6b05c7164 aufs2: patch for kernel 2.6.34
svn path=/nixpkgs/trunk/; revision=22178
2010-06-08 06:29:02 +00:00
Marc Weber 47046e66c4 update lvm2 (this time not using latest version because I hope this is more stable and won't be removed that fast..
svn path=/nixpkgs/trunk/; revision=22175
2010-06-08 05:44:04 +00:00
Eelco Dolstra 9d33e71fc4 * Emit a "mount-failed" event if a filesystem cannot be mounted or
fscked.

svn path=/nixpkgs/trunk/; revision=22164
2010-06-07 12:14:47 +00:00
Eelco Dolstra 240305fab4 * Added mountall. This is an Ubuntu utility that mounts filesystems
as they become available (as determined by monitoring udev) and
  emits Upstart events to inform other jobs that the filesystems are
  mounted.  This is very useful for NixOS (which currently ignores
  filesystems in the job dependency chain - very bad).

  Unfortunately, mountall depends on Plymouth (a boot splash
  implementation).  The patch allows mountall to build without
  Plymouth.  Since Plymouth is also used to inform users about failing
  mounts and get responses, some more changes will be needed.
  Probably mountall should emit a "mount-failed" event to trigger a
  root shell on the console to allow the user to repair the problem.

svn path=/nixpkgs/trunk/; revision=22143
2010-06-04 13:43:53 +00:00
Lluís Batlle i Rossell 4772588553 Disabling libxcrypt on armv5tel-linux (it does not build trivially). As a consequence,
we will end up having MD5 passwords in passwd. pam_unix will fallback to md5 if the requested
hash algorithm is not available in crypt.

svn path=/nixpkgs/trunk/; revision=22141
2010-06-04 12:13:09 +00:00
Eelco Dolstra 18f565e290 * Apply a few patches to make su' behave more like the old su' from
coreutils:

  - Don't remove variables such as $PATH and $SHELL from the calling
    environment (from upstream).

  - When su is invoked with command line arguments for the shell
    (e.g. "su - -c 'cmd'"), set argv[0] in the shell to "-su" or
    "-<basename>" (as determined by the SU_NAME option in
    /etc/login.defs).  This is necessary to make Bash compiled with
    the NON_INTERACTIVE_LOGIN_SHELLS option to read startup files.

  - Don't set $PATH to /bin:/usr/bin but inherit the $PATH of the
    caller.

svn path=/nixpkgs/trunk/; revision=22140
2010-06-04 11:32:42 +00:00
Eelco Dolstra 108f63eb80 * Added cifs-utils (mount.cifs properly packaged). This obsoletes
mount-cifs.

svn path=/nixpkgs/trunk/; revision=22124
2010-06-03 14:28:48 +00:00
Eelco Dolstra 6f2b3f46cc * PAM updated to 1.1.1. Also build with libxcrypt support.
* Cracklib updated.  Removed the dictionary as it should be moved into
  a separate package.

svn path=/nixpkgs/trunk/; revision=22105
2010-06-02 17:31:20 +00:00
Eelco Dolstra e0adbee395 * Updated shadow to 4.1.4.2 (and build it with PAM support). This
might replace the pwdutils, pam_login and su packages in NixOS.

svn path=/nixpkgs/trunk/; revision=22103
2010-06-02 16:45:14 +00:00
Eelco Dolstra 09b8d46dc9 * splashutils: use Glibc instead of klibc.
svn path=/nixpkgs/trunk/; revision=22086
2010-06-01 16:36:07 +00:00
Eelco Dolstra a15da3571f * Fix the URL.
svn path=/nixpkgs/trunk/; revision=22083
2010-06-01 12:13:59 +00:00
Eelco Dolstra a6d63f4fab * nvidia_x11: added a flag to build only the libraries. This is
useful on x86_64-linux to support i686 binaries: there we need the
  NVIDIA OpenGL libraries, but not the kernel module or the
  nvidia-settings program (which just cause a lot of unnecessary and
  large dependencies).

svn path=/nixpkgs/trunk/; revision=22061
2010-05-30 21:56:56 +00:00
Eelco Dolstra 629849c449 * Renamed "aufs2-utils" to the upstream name ("aufs-util").
svn path=/nixpkgs/trunk/; revision=22040
2010-05-28 09:38:44 +00:00
Eelco Dolstra 6daa7866ca * Only build aufs2 for kernels that have the requisite base/standalone
patch applied.

svn path=/nixpkgs/trunk/; revision=22037
2010-05-28 09:29:39 +00:00
Eelco Dolstra 74b6d94ed5 * Get aufs2 and aufs2-util to build against Linux 2.6.32.
svn path=/nixpkgs/trunk/; revision=22032
2010-05-28 07:09:15 +00:00
David Guibert 7c19b40dbf kernel-2.6.34
The Linux 2.6.34 kernel delivers (from [1])
- many open-source GPU driver updates,
- GPU switching support,
- the LogFS file-system,
- faster KVM networking support,
- Btrfs file-system updates,
- the VMware memory ballooning driver,
- and many other changes.

A more exhaustive list of the Linux 2.6.34 kernel changes from
architectures to network drivers is listed on the Wiki at
KernelNewbies.org.[2]

[1] http://www.phoronix.com:
[2] http://kernelnewbies.org/Linux_2_6_34

svn path=/nixpkgs/trunk/; revision=22023
2010-05-27 19:44:23 +00:00
David Guibert 35b9e01396 procps 3.2.8
svn path=/nixpkgs/trunk/; revision=22016
2010-05-27 19:34:03 +00:00
David Guibert 85a1936685 conky: compiled without X support, usefull with dwm.
svn path=/nixpkgs/trunk/; revision=22015
2010-05-27 19:33:58 +00:00
David Guibert 4e67eba80c update alsa-{lib,utils,plugins} to 1.0.23
svn path=/nixpkgs/trunk/; revision=22014
2010-05-27 19:33:52 +00:00
David Guibert c4c4f1c5ef update pm-utils to 1.3.0
svn path=/nixpkgs/trunk/; revision=22013
2010-05-27 19:33:46 +00:00
David Guibert 6f4e4a6370 acpitool-0.5.1
svn path=/nixpkgs/trunk/; revision=22011
2010-05-27 19:33:37 +00:00
Eelco Dolstra 8f99f22819 * Kernel updates.
svn path=/nixpkgs/trunk/; revision=22002
2010-05-27 12:16:05 +00:00
Ludovic Courtès 4d2a82ab85 GNU Mach: Fix full build.
svn path=/nixpkgs/trunk/; revision=21994
2010-05-26 20:39:53 +00:00
Marc Weber 814a4c93f7 iptables: hash did change
svn path=/nixpkgs/trunk/; revision=21993
2010-05-26 19:01:15 +00:00
Ludovic Courtès 883ab19eb4 GNU Mach: Add full build.
svn path=/nixpkgs/trunk/; revision=21986
2010-05-26 08:55:55 +00:00
Yury G. Kudryashov 5e846002d6 ati-drivers: restrict "platforms" to x86_64-linux
svn path=/nixpkgs/trunk/; revision=21967
2010-05-25 11:27:18 +00:00
Eelco Dolstra f5ccde78ff * Remove an unnecessary symlink.
svn path=/nixpkgs/trunk/; revision=21930
2010-05-20 22:12:42 +00:00
Eelco Dolstra 50712e5279 * Added miniupnpd, an implementation of the UPnP Internet Gateway
Device (IGD) specification.
* Updated iptables to 1.4.8.

svn path=/nixpkgs/trunk/; revision=21929
2010-05-20 22:11:44 +00:00
Ludovic Courtès 620870eb0d GNU Hurd: Don't try to install files as `root'.
svn path=/nixpkgs/trunk/; revision=21915
2010-05-20 11:54:37 +00:00
Eelco Dolstra 1d4fb3340e * qemu-kvm updated to 0.12.4.
svn path=/nixpkgs/trunk/; revision=21913
2010-05-20 11:18:52 +00:00
Ludovic Courtès e5571e9cd4 GNU Hurd: Add libpthread.
svn path=/nixpkgs/trunk/; revision=21900
2010-05-19 21:28:57 +00:00
Ludovic Courtès 2534ea88b1 GNU Hurd: Allow partial builds.
svn path=/nixpkgs/trunk/; revision=21899
2010-05-19 21:28:34 +00:00
Ludovic Courtès 89b9d2af52 GNU Mach, GNU Hurd: Add `-headers' in the name when asking for headers only.
svn path=/nixpkgs/trunk/; revision=21898
2010-05-19 21:28:28 +00:00
Ludovic Courtès b9e28b8a8e GNU Hurd: Use the date as the version number.
svn path=/nixpkgs/trunk/; revision=21897
2010-05-19 21:28:14 +00:00
Ludovic Courtès 5cb28c179c GNU Mach: Use the date as the version number.
svn path=/nixpkgs/trunk/; revision=21896
2010-05-19 21:28:09 +00:00
Ludovic Courtès 5ecaa9ab32 GNU MIG: Move to `os-specific/gnu'.
svn path=/nixpkgs/trunk/; revision=21894
2010-05-19 21:27:53 +00:00
Eelco Dolstra a310fc9ed0 * Latest kernels.
svn path=/nixpkgs/trunk/; revision=21874
2010-05-19 12:28:54 +00:00
Peter Simons dd5add68e1 pkgs/os-specific/linux/hal/default.nix: strip trailing white space
svn path=/nixpkgs/trunk/; revision=21871
2010-05-19 12:26:15 +00:00
Peter Simons f90d6ec47d pkgs/os-specific/linux/hal/default.nix: deal with 'udev' being null
svn path=/nixpkgs/trunk/; revision=21870
2010-05-19 12:26:12 +00:00
Peter Simons d6201c6aac pkgs/os-specific/linux/hal/default.nix: prefer explicit function arguments over implicit with style
svn path=/nixpkgs/trunk/; revision=21869
2010-05-19 12:26:09 +00:00
Eelco Dolstra ad48452ee1 * NVIDIA drivers updated to 195.36.24.
svn path=/nixpkgs/trunk/; revision=21856
2010-05-19 10:35:44 +00:00
Marc Weber 26e718ba23 move assertions so that buildign the NixOS manual doesn't fail
svn path=/nixpkgs/trunk/; revision=21855
2010-05-19 10:01:07 +00:00
Marc Weber 6361b3a682 adding ati-drivers There is still much to be done, see http://thread.gmane.org/gmane.linux.distributions.nixos/4145
svn path=/nixpkgs/trunk/; revision=21848
2010-05-18 19:36:55 +00:00
Eelco Dolstra e367687e29 * mdadm: Enable incremental activation of swraid arrays from udev.
svn path=/nixpkgs/trunk/; revision=21805
2010-05-16 20:25:57 +00:00
Yury G. Kudryashov 64f0f42d4f Upgrade mdadm
svn path=/nixpkgs/trunk/; revision=21792
2010-05-15 18:43:24 +00:00
Yury G. Kudryashov ff03fa4511 Upgrade lvm2
svn path=/nixpkgs/trunk/; revision=21791
2010-05-15 18:43:10 +00:00
Yury G. Kudryashov 3fbd71aa88 udev-154
svn path=/nixpkgs/trunk/; revision=21787
2010-05-15 09:55:22 +00:00
Yury G. Kudryashov 1c9a08d3eb Changed udev firmware path to /root/test-firmware:/var/run/current-system/firmware
/etc/firmware -> /var/run/current-system/firmware was disscussed on ML
I've also changed the order because "emergency" path should be of higher priority

svn path=/nixpkgs/trunk/; revision=21782
2010-05-15 09:54:42 +00:00
Yury G. Kudryashov 82201f14e9 Upgrade to udev-153. Use /etc/firmware:/root/test-firmware path
svn path=/nixpkgs/trunk/; revision=21781
2010-05-15 09:54:35 +00:00
Ludovic Courtès 2d4fa8897e Add GNU Hurd (headers).
svn path=/nixpkgs/trunk/; revision=21751
2010-05-12 15:46:47 +00:00
Ludovic Courtès 5738f20c83 Add GNU Mach (headers).
svn path=/nixpkgs/trunk/; revision=21749
2010-05-12 15:46:38 +00:00
Lluís Batlle i Rossell 7ccbfc1746 Fixing nfsUtils rpc.statd about pointing to the sm-notify binary. It pointed to
/usr/sbin

svn path=/nixpkgs/trunk/; revision=21689
2010-05-09 19:14:06 +00:00
Nicolas Pierron 4f62c83781 Update pam_usb url.
svn path=/nixpkgs/trunk/; revision=21665
2010-05-08 17:30:43 +00:00
Lluís Batlle i Rossell 2c8783a48b Making wxGTK stay wxGTK even cross-built, so I remove the wxMSW code I added
to test the crossbuilding with wxGTK.
I added a new windows-specific package: wxMSW.

svn path=/nixpkgs/trunk/; revision=21634
2010-05-06 19:19:22 +00:00
Lluís Batlle i Rossell c548c084bb Making gcc-4.5 cross-build to mingw32 too (set by the proper config and libc = "msvcrt"
in the crossSystem)

svn path=/nixpkgs/trunk/; revision=21630
2010-05-06 18:22:51 +00:00
Eelco Dolstra 3b2d0133f3 * Patch the `nvidia-settings.desktop' file to make it work on KDE.
svn path=/nixpkgs/trunk/; revision=21628
2010-05-06 16:58:04 +00:00
Ludovic Courtès 3bda68d779 Linux: Attempt to copy more debugging info to $out.
svn path=/nixpkgs/trunk/; revision=21624
2010-05-06 11:52:49 +00:00
Ludovic Courtès 074f450ab3 Linux: Patch incorrect absolute paths in makefiles.
svn path=/nixpkgs/trunk/; revision=21623
2010-05-06 11:52:43 +00:00
Ludovic Courtès 96f2d289bc Don't strip Linux modules in the SystemTap variant.
svn path=/nixpkgs/trunk/; revision=21619
2010-05-05 19:48:52 +00:00
Ludovic Courtès 588be9d6db Add a Linux kernel suitable for SystemTap.
svn path=/nixpkgs/trunk/; revision=21618
2010-05-05 19:48:46 +00:00
Yury G. Kudryashov b03f3bd8a1 Add platforms to xf86-input-wacom
svn path=/nixpkgs/trunk/; revision=21614
2010-05-05 18:23:08 +00:00
Ludovic Courtès be07b7f60d tcp-wrapper: Apply patches with `--batch' to please the latest GNU Patch.
svn path=/nixpkgs/trunk/; revision=21594
2010-05-04 13:32:00 +00:00
Peter Simons 85b7c134cb pkgs/os-specific/darwin/lipo: add support for running the native Darwin lipo utility
svn path=/nixpkgs/trunk/; revision=21426
2010-04-29 14:56:44 +00:00
Ludovic Courtès 0df57866a6 pam_login: Really apply `sys-stat-h.patch'.
svn path=/nixpkgs/trunk/; revision=21402
2010-04-28 12:37:06 +00:00
Eelco Dolstra 18849f0f24 * `--exec-prefix=$out/bin' causes programs to be installed in
$out/bin/bin and $out/bin/sbin, which breaks NixOS (see
  e.g. http://hydra.nixos.org/build/380092).

svn path=/nixpkgs/trunk/; revision=21339
2010-04-27 10:46:41 +00:00
Eelco Dolstra 68d9e26bcb * Linux 2.6.32.12, 2.6.33.3.
svn path=/nixpkgs/trunk/; revision=21338
2010-04-27 09:52:36 +00:00
Ludovic Courtès 76b699eb22 pam_login: Fix build on recent glibc.
svn path=/nixpkgs/trunk/; revision=21337
2010-04-27 09:43:26 +00:00
Ludovic Courtès 7802763b45 Linux nfs-utils 1.2.2.
svn path=/nixpkgs/trunk/; revision=21336
2010-04-27 09:43:22 +00:00
Marc Weber 9ae4b8b11c wpa_supplicant: enable qt gui, deprecate old broken derivation building gui
svn path=/nixpkgs/trunk/; revision=21332
2010-04-27 04:38:41 +00:00
Ludovic Courtès fff97995f3 pwdutils: Fix compilation with recent glibc.
svn path=/nixpkgs/trunk/; revision=21318
2010-04-26 09:30:53 +00:00
Ludovic Courtès 9534d10db6 pwdutils: Use GnuTLS instead of OpenSSL.
svn path=/nixpkgs/trunk/; revision=21300
2010-04-24 21:02:42 +00:00
Ludovic Courtès 8e905083ae pwdutils 3.2.6.
svn path=/nixpkgs/trunk/; revision=21299
2010-04-24 21:02:37 +00:00
Lluís Batlle i Rossell 80862759f2 Updating util-linux, so the 2nd util-linux change in few minutes; that may
annoy less.

svn path=/nixpkgs/trunk/; revision=21221
2010-04-21 21:35:38 +00:00
Lluís Batlle i Rossell 1f942f92bf Making utillinux build also 'write'. (Thank you, niksnut)
svn path=/nixpkgs/trunk/; revision=21219
2010-04-21 20:47:15 +00:00
Eelco Dolstra 8a4805ba22 * Updated nvidia-x11 to 195.36.15.
svn path=/nixpkgs/trunk/; revision=21209
2010-04-21 14:47:13 +00:00
Eelco Dolstra 108e86ce6c * Update the firmware for the IWL 3945.
svn path=/nixpkgs/trunk/; revision=21204
2010-04-21 12:32:16 +00:00
Eelco Dolstra 9e9f8e45b3 * Updated wpa_supplicant to 0.7.2.
svn path=/nixpkgs/trunk/; revision=21200
2010-04-21 11:37:15 +00:00
Eelco Dolstra b86fd1a1ec * Added rfkill, a tool for controlling the wireless kill switch on
Linux.

svn path=/nixpkgs/trunk/; revision=21199
2010-04-21 11:21:15 +00:00
Marc Weber 6ce15d655f adding wvdial, wvstreams, usb_modeswitch
svn path=/nixpkgs/trunk/; revision=21131
2010-04-16 15:56:28 +00:00
Marco Maggesi 5d94294dd5 pkgs/os-specific/linux/blcr: update to version 0.8.2
svn path=/nixpkgs/trunk/; revision=21091
2010-04-15 12:08:08 +00:00
Yury G. Kudryashov 61198b7d61 Typo. Forgotten to remove dashes
svn path=/nixpkgs/trunk/; revision=21045
2010-04-13 07:23:55 +00:00
Yury G. Kudryashov 3653309cb3 Match capabilities instead of name
Didn't work for ALPS touchpads

svn path=/nixpkgs/trunk/; revision=21043
2010-04-13 06:49:34 +00:00
Yury G. Kudryashov a9d1a2825b Initial xf86-input-wacom nix expression
Builds here. Haven't tested whether it works with real hardware yet.

svn path=/nixpkgs/trunk/; revision=21019
2010-04-11 22:42:28 +00:00
Eelco Dolstra 5330be5fbb * Latest Linux kernels.
svn path=/nixpkgs/trunk/; revision=20952
2010-04-06 10:33:49 +00:00
Lluís Batlle i Rossell e37d850227 Updating the nvidia legacy drivers, so they build with linux 2.6.33
svn path=/nixpkgs/trunk/; revision=20943
2010-04-04 18:01:36 +00:00
Michael Raskin 5ff7d302ea Update FUSE
svn path=/nixpkgs/trunk/; revision=20751
2010-03-18 21:12:59 +00:00
Michael Raskin b4b3cb2d01 Fix version problems in Zen-kernel expression
svn path=/nixpkgs/trunk/; revision=20727
2010-03-18 05:26:50 +00:00
Michael Raskin 6934d0770c Fix build of fresh Zen kernels: POSIX ACL seems to be non-optional in OCFS2 now
svn path=/nixpkgs/trunk/; revision=20684
2010-03-17 10:04:35 +00:00
Michael Raskin f7aad3221a Data for Zen-kernel 2.6.33-zen1
svn path=/nixpkgs/trunk/; revision=20675
2010-03-17 06:41:09 +00:00
Eelco Dolstra f02cd9d59c * Linux updated to 2.6.32.10, 2.6.33.1.
svn path=/nixpkgs/trunk/; revision=20646
2010-03-16 11:44:28 +00:00
Lluís Batlle i Rossell 71bf444504 Updating uclibc (This new release fixed a problem in ._start that gave me a lot
of headache in mips)

svn path=/nixpkgs/trunk/; revision=20613
2010-03-14 14:05:04 +00:00
Lluís Batlle i Rossell 5b7f1ef09a Making busybox cross build with kernel 2.4 for mipsel (I had to disable 'ionice', which
requires some headers >= 2.6.12).

I also add the kernel 2.4 headers expression I forgot in my last commit.

svn path=/nixpkgs/trunk/; revision=20540
2010-03-10 21:32:35 +00:00
Lluís Batlle i Rossell fb6adb13ac Updating busybox. I left only a single busybox in its directory. The others, coming from the old
cross-building nixpkgs implementation, were not referenced anywhere.

This new busybox builds natively, and also cross-builds with uclibc.

I updated the uclibc config with a busybox defconfig requirement (something about RPC).

I made the gcc-cross-wrapper properly set the dynamic loader to programs.

After this, 'qemu-arm' can run the dynamically linked busybox cross built for armv5tel--linux-gnueabi.



svn path=/nixpkgs/trunk/; revision=20514
2010-03-09 22:17:38 +00:00
Lluís Batlle i Rossell 936ee28548 Updating utillinux-ng
svn path=/nixpkgs/trunk/; revision=20508
2010-03-09 17:25:03 +00:00
Lluís Batlle i Rossell 5fc076193c Updating uclibc
svn path=/nixpkgs/trunk/; revision=20501
2010-03-09 15:51:45 +00:00
Lluís Batlle i Rossell 1522caa556 Enabling cross-builds with uclibc again (I had that too much abandoned).
Hydra now should even test it.


svn path=/nixpkgs/trunk/; revision=20500
2010-03-09 15:48:25 +00:00
Eelco Dolstra d2f598122c * qemu-kvm updated to 0.12.3.
svn path=/nixpkgs/trunk/; revision=20489
2010-03-09 12:53:42 +00:00
Eelco Dolstra 53cdaca17e * NVidia driver: revert to 190.53 because 195.36.08 has been withdrawn
due to a fan speed issue (reported by James Cook).

svn path=/nixpkgs/trunk/; revision=20468
2010-03-08 08:16:16 +00:00
Lluís Batlle i Rossell 11c20b3a2c Making the cross kernel builds take properly the cross-built uboot, when needed.
svn path=/nixpkgs/trunk/; revision=20455
2010-03-06 22:04:21 +00:00
Lluís Batlle i Rossell 27b8b6cc66 Made mdadm cross build.
svn path=/nixpkgs/trunk/; revision=20380
2010-03-04 14:44:35 +00:00
Eelco Dolstra 8ba2b6a933 * Latest NVIDIA driver.
svn path=/nixpkgs/trunk/; revision=20352
2010-03-03 14:06:14 +00:00
Lluís Batlle i Rossell ef1918f200 Allowing the kernel to build in the sheevaplug natively.
svn path=/nixpkgs/trunk/; revision=20284
2010-02-28 08:58:07 +00:00
Lluís Batlle i Rossell 289d728337 Fixing the kernel expressions to allow normal and cross-building, depending
on the native and cross platforms.

I thought I already did that today in a previous commit, but I did all wrong.

svn path=/nixpkgs/trunk/; revision=20280
2010-02-27 21:48:48 +00:00
Lluís Batlle i Rossell 305a7a2ddf More testing allows fixing more errors from the recent commits.
svn path=/nixpkgs/trunk/; revision=20279
2010-02-27 21:21:20 +00:00
Lluís Batlle i Rossell 4677180b0d Barf. I have to test the expressions before commiting.
svn path=/nixpkgs/trunk/; revision=20278
2010-02-27 20:37:58 +00:00
Lluís Batlle i Rossell 3b747e92e5 Fixing the correct handling of uboot in the initrd and the kernel derivations.
(nixos on sheevaplug)


svn path=/nixpkgs/trunk/; revision=20275
2010-02-27 18:51:06 +00:00
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
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
Eelco Dolstra 61c9c2434f * Updated fbcondecor for Linux 2.6.33.
svn path=/nixpkgs/trunk/; revision=20257
2010-02-25 14:15:42 +00:00
Eelco Dolstra 280ba422b8 * Linux 2.6.32.9.
svn path=/nixpkgs/trunk/; revision=20255
2010-02-25 13:55:57 +00:00
Eelco Dolstra e04c9a452a * Linux 2.6.33.
svn path=/nixpkgs/trunk/; revision=20246
2010-02-25 12:40:03 +00:00
Marco Maggesi 99237e3da3 Updated nixpkgs/pkgs/os-specific/linux/dmtcp
svn path=/nixpkgs/trunk/; revision=20195
2010-02-23 16:00:37 +00:00
Lluís Batlle i Rossell 9727f3d707 Making the i915 module Kernel Mode Setting enabled.
This is required by the X module nowadays, and the linux i686 config does not
have it enabled by default.


svn path=/nixpkgs/trunk/; revision=20136
2010-02-19 18:28:02 +00:00
Lluís Batlle i Rossell 50e309f022 linux: Removing some assertions on armv5tel no more valid when cross-building.
svn path=/nixpkgs/trunk/; revision=20119
2010-02-18 21:10:53 +00:00
Marco Maggesi 0be3d18896 Updated nixkpkgs/pkgs/os-specific/linux/dmtcp/devel.nix
svn path=/nixpkgs/trunk/; revision=20116
2010-02-18 18:49:32 +00:00
Michael Raskin bf4f2769b1 Fix propagated dependencies in hal
svn path=/nixpkgs/trunk/; revision=20108
2010-02-18 15:44:01 +00:00
Lluís Batlle i Rossell 9bcb6277f3 Changing linux kernel references from vmlinuz to bzImage.
This way we get a simpler kernel build script.

svn path=/nixpkgs/trunk/; revision=20094
2010-02-18 11:34:48 +00:00
Lluís Batlle i Rossell 5fc64e5f9c Again, trying to fix the kernel build.
It seems that there is no make target named 'vmlinuz' that makes the file 'vmlinuz'.
So we need different variables for the make target and the kernel file. Unless we
some day stop using the file 'vmlinuz' in pc, and use bzImage.

svn path=/nixpkgs/trunk/; revision=20092
2010-02-18 10:25:33 +00:00
Lluís Batlle i Rossell ee72c53378 Trying to fix the non-cross kernel build.
svn path=/nixpkgs/trunk/; revision=20090
2010-02-18 08:02:16 +00:00
Lluís Batlle i Rossell 4e51d7d296 Fixing the linux kernel cross builder (lacking an ARCH again in a make call)
svn path=/nixpkgs/trunk/; revision=20081
2010-02-17 22:36:59 +00:00
Lluís Batlle i Rossell 70cb7050f5 Trying to make the linux kernels also cross-build.
svn path=/nixpkgs/trunk/; revision=20080
2010-02-17 22:20:56 +00:00
Lluís Batlle i Rossell c86da889cc Made the kernel generate-config "build as modules as you can" an option.
Sepcifically, a nixpkgs "platform" option. So, for PC all remained the same
as it was.

svn path=/nixpkgs/trunk/; revision=20059
2010-02-16 19:27:51 +00:00
Eelco Dolstra e9ad76a2ff * Upstart updated to 0.6.5.
* Added libnih (a dependency of Upstart).
* Removed the old Upstart 0.3.x.

svn path=/nixpkgs/trunk/; revision=20015
2010-02-15 15:55:39 +00:00
Marco Maggesi f1f60cef0d Add package dmtcp_devel
svn path=/nixpkgs/trunk/; revision=19972
2010-02-13 11:02:08 +00:00
Lluís Batlle i Rossell fab150b628 Updating acpid.
svn path=/nixpkgs/trunk/; revision=19942
2010-02-11 18:59:58 +00:00
Eelco Dolstra 2027b96de5 * Linux 2.6.32.8.
svn path=/nixpkgs/trunk/; revision=19933
2010-02-11 14:33:17 +00:00
Lluís Batlle i Rossell df0800e91d Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19825
2010-02-04 19:08:28 +00:00
Lluís Batlle i Rossell b8c1641515 Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19824
2010-02-04 18:40:54 +00:00
Marco Maggesi 3ab915e1fc Add new package pkgs/os-specific/linux/dmtcp/
svn path=/nixpkgs/trunk/; revision=19819
2010-02-04 15:41:45 +00:00
Eelco Dolstra a709fd64e5 * Turn libxcrypt back on. Without it, it's impossible to login to
NixOS (because pam_unix2 then cannot handle the passwords in
  /etc/shadow).

svn path=/nixpkgs/branches/stdenv-updates/; revision=19810
2010-02-04 09:35:51 +00:00
Eelco Dolstra a617a7c239 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19786
2010-02-03 14:23:43 +00:00
Eelco Dolstra 41e5edb0b3 * qemu-kvm: link against libuuid.
svn path=/nixpkgs/trunk/; revision=19757
2010-02-01 18:44:08 +00:00
Eelco Dolstra b22880b12d * qemu-kvm: increase the size of the buffer used to build the smbd
command line.

svn path=/nixpkgs/trunk/; revision=19756
2010-02-01 18:11:53 +00:00
Eelco Dolstra 277e66450b * fuse updated to 2.8.2.
svn path=/nixpkgs/trunk/; revision=19755
2010-02-01 17:08:35 +00:00
Eelco Dolstra f719b5268e * qemu-kvm: honour $TMPDIR for the qemu-smb temporary directory. This
ensures that Nix cleans up the qemu-smb directory after a VM test
  run (which prevents failures like this one:
  http://hydra.nixos.org/build/275355/nixlog/31/raw).

svn path=/nixpkgs/trunk/; revision=19747
2010-02-01 15:12:49 +00:00
Lluís Batlle i Rossell 2dfeeb47bb Making kbd build in armv5tel-linux. gcc 4.4.3 issues a warning with it, and kbd was compiled with -Werror.
I switch off -Werror in armv5tel-linux.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19735
2010-01-29 21:30:09 +00:00
Eelco Dolstra 26ea153e8b svn path=/nixpkgs/trunk/; revision=19724 2010-01-29 00:38:34 +00:00
Eelco Dolstra e04beb262e * Strangely, running "make defconfig" before the generator causes
"make config" to print an additional question that the script
  doesn't know how to answer ("Audio Excel DSP 16 [N/y] (NEW) ###").
  Just ignore it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19713
2010-01-27 15:43:27 +00:00
Eelco Dolstra 9f99223219 * Removed splashutils 1.3 (obsolete).
svn path=/nixpkgs/branches/stdenv-updates/; revision=19710
2010-01-27 14:35:38 +00:00
Eelco Dolstra bd14a5d297 * qemu-kvm 0.12.2.
svn path=/nixpkgs/trunk/; revision=19705
2010-01-27 10:51:23 +00:00
Eelco Dolstra 561e37cfe0 * Linux 2.6.32.6, 2.6.27.44.
svn path=/nixpkgs/trunk/; revision=19661
2010-01-26 10:18:14 +00:00
Lluís Batlle i Rossell bcba809460 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19654
2010-01-25 18:52:07 +00:00
Lluís Batlle i Rossell 279ffaa621 Adding ecryptfs, and one of its dependencies: keyutils.
(I have not tried whether they work)

svn path=/nixpkgs/trunk/; revision=19645
2010-01-25 10:34:47 +00:00
Lluís Batlle i Rossell d8900100e5 Allowing linux-headers to be built for cross-compilations on non-linux platforms.
Updating the list of hydra cross-build jobs to something more ambitious.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19628
2010-01-23 09:41:50 +00:00
Michael Raskin 44457a9ad7 Fixing a typo in options
svn path=/nixpkgs/trunk/; revision=19563
2010-01-20 11:06:20 +00:00
Michael Raskin d2795e889c Force CFS in zen-kernel not specified as BFS
svn path=/nixpkgs/trunk/; revision=19557
2010-01-20 06:24:29 +00:00
Eelco Dolstra 93b250b960 * Use the Linux 2.6.32 kernel headers.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19552
2010-01-19 18:02:37 +00:00
Marc Weber 3b37933dd4 second part of alsaLib patch + comment
svn path=/nixpkgs/branches/stdenv-updates/; revision=19529
2010-01-18 19:15:36 +00:00
Eelco Dolstra 7c7f9b63ad * kbd 1.15.1.
svn path=/nixpkgs/trunk/; revision=19514
2010-01-18 10:19:11 +00:00
Michael Raskin 30477123ef Allow building kernels for CPUs incapable of running Xen
svn path=/nixpkgs/branches/stdenv-updates/; revision=19489
2010-01-16 20:40:59 +00:00