Commit graph

1972 commits

Author SHA1 Message Date
Michael Raskin f82c864a4b acpi-call: update and fix kernel version handling 2012-08-03 16:20:24 +04:00
Shea Levy 1b7264d349 linux/manual-config.nix: When stripping, use xargs -r in case CONFIG_MODULES=y but no modules are actually installed 2012-08-01 23:32:02 -04:00
Shea Levy 4aba2bb3f5 linux/manual-config: Use kernelPatches like generic.nix, not a plain patches list 2012-08-01 23:02:17 -04:00
Shea Levy fd330e9315 linux/manual-config: Install the kernel with the name given in stdenv.platform.kernelTarget 2012-08-01 15:39:49 -04:00
Shea Levy ad49d92899 linux/manual-config: When installing firmware, create the firmware directory prior to make *_install.
It is probably a kernel build system bug that this is necessary, but it's not really a big deal either.
2012-08-01 11:56:12 -04:00
Shea Levy 3f4fd55c63 linux/manual-config: Remove unnecessary quotation 2012-08-01 11:26:30 -04:00
Shea Levy 443b9bc936 linux/kernel/manual-config: use isDisabled instead of isNo in case FIRMWARE_IN_KERNEL is left unspecified 2012-08-01 11:21:32 -04:00
Shea Levy 3dbfca0d7f linux/manual-config: Change from 'features' to 'config' and fix build when firmware is installed.
Instead of manually adding which 'features' a kernel has based on its config here, just generate a nixexpr representation of the whole config and let places that need it (e.g. NixOS modules) decide how to map config options to features.

Note that if your kernel requires firmware whose hex file sits directly in ${src}/firmware rather than in a subdirectory thereof, you may need this patch for now: https://lkml.org/lkml/2012/7/31/724
2012-08-01 06:18:03 -04:00
Mathijs Kwik b5d4e8a17a linux-3.4: upgrade to 3.4.7 2012-07-31 10:26:18 +02:00
Eelco Dolstra 5d4916871c libcgroup: Update to 0.38 2012-07-30 13:48:19 -04:00
Shea Levy da4c64026a linux/kernel/manual-config: Greatly simplify config parser 2012-07-29 15:54:31 -04:00
Shea Levy 298b5ccdab linux/kernel/manual-config: Only import from derivation when explicitly asked to 2012-07-29 13:26:39 -04:00
Shea Levy f0694a3151 linux/kernel/manual-config: Do all of the config file parsing in the imported-from derivation 2012-07-29 13:24:05 -04:00
Shea Levy 6585646d41 linux/kernel/manual-config: Add meta 2012-07-29 04:59:38 -04:00
Shea Levy 46fa5ab105 linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved 2012-07-29 04:56:56 -04:00
Shea Levy f7b6f01da1 linux/kernel/manual-config: Cleanup 2012-07-29 04:52:34 -04:00
Shea Levy 98341e0bda linux/kernel/manual-config: Use the kernel's make install 2012-07-29 04:48:50 -04:00
Shea Levy a9a7085684 linux/kernel/manual-config: Allow manually specifying features, cleanup 2012-07-29 04:31:40 -04:00
Shea Levy 6bb20c7ba2 linux/kernel/manual-config: Strip modules after install 2012-07-29 04:23:28 -04:00
Shea Levy 6b18ab5365 linux/kernel/manual-config: Remove useless INSTALL_MOD_STRIP variable 2012-07-29 04:07:43 -04:00
Shea Levy 6e3b17feec linux/kernel/manual-config: Run depmod after build 2012-07-29 04:01:40 -04:00
Shea Levy 4f713d27f7 kmod: Bump to version 9 2012-07-29 03:57:50 -04:00
Shea Levy 48b5e8eee7 linux/kernel/manual-config: Build in a separate directory and move the build and source trees into $out 2012-07-29 03:49:52 -04:00
Shea Levy e42a6c5f46 linux/kernel/manual-config: Move the build directory to $out instead of symlinking it 2012-07-29 03:27:09 -04:00
Shea Levy a36456ca25 linux/kernel-manual-config: Simplify the lines.nix runCommand now that I know how to escape properly 2012-07-29 03:09:44 -04:00
Shea Levy 5a9d9f4f45 linux/kernel/manual-config: Properly escape makeFlagsArray and installFlagsArray 2012-07-29 02:57:58 -04:00
Shea Levy 471b4bc9bb MODLIB needs to be passed directly to make 2012-07-29 02:49:31 -04:00
Shea Levy aa40e0ff59 linux/kernel/manual-config: The default 'make install' tries to do something with LILO, so install the kernel manually 2012-07-29 01:57:59 -04:00
Shea Levy dfa750732d linux/kernel/manual-config: Properly set env vars referencing $out 2012-07-29 01:34:27 -04:00
Shea Levy ff728a6365 The kernel build needs hostname and perl 2012-07-29 01:29:56 -04:00
Shea Levy bf7467cbb1 Add first attempt at linux/kernel/manual-config.
The goal of this function is to make it possible to build a kernel with a user provided .config.
As a secondary goal, it will extract NixOS-relevant features from the config automatically.
As a tertiary goal, the build will aim to be simpler than the current generic kernel builder.sh.

Unfortunately, that simplicity is offset by the complexity of the feature extraction, especially since nix segfaults when trying to split the file into lines (so an import from a derivation is used)
2012-07-29 01:23:51 -04:00
Eelco Dolstra 84b4a086dd nvidia-x11: Update to 304.22
Now with glorious Xrandr 1.2/1.3 support! No more need to
nvidia-settings!
2012-07-26 18:59:33 -04:00
Lluís Batlle i Rossell 02e6a689be nvidia-legacy-173: Updating to 173.14.35
I also add gdk_pixbuf; otherwise nvidia-settings does not start.
2012-07-26 23:02:29 +02:00
Eelco Dolstra 1b0abce6de linux: Update to 3.2.24 2012-07-26 11:32:53 -04:00
Eelco Dolstra b044cac2fc sysvinit: Don't install mountpoint and wall
These are already provided by util-linux.
2012-07-25 23:18:40 -04:00
Eelco Dolstra 60a63886f0 shadow: Don't install ‘groups’
Coreutils already provides this command.
2012-07-25 23:18:40 -04:00
Eelco Dolstra 732ea6382a shadow: Update to 4.1.5.1
Fixes CVE-2005-4890 and CVE-2011-0721.
2012-07-25 23:18:40 -04:00
Eelco Dolstra 830aa1a2f0 ipw2100-fw: Drop runtime dependency on binutils etc. 2012-07-25 14:31:58 -04:00
Eelco Dolstra 0d5f1fd833 upower: Update to 0.9.17 2012-07-24 22:45:26 -04:00
Eelco Dolstra ddb5bd38bb kbd: Update to 1.15.3 2012-07-24 22:33:39 -04:00
Eelco Dolstra 99413d3e3c kbd: Hard-code the path to gzip/bzip2
This is necessary for systemd-vconsole-setup.service in systemd.
2012-07-24 22:33:39 -04:00
Shea Levy 8c9bef04a6 linux-3.5: Enable XEN_DOM0 support 2012-07-24 02:26:04 +00:00
Shea Levy 053f641d16 Add linux-3.5 2012-07-22 11:33:00 -04:00
Eelco Dolstra 2547e0e96a systemd: Use an interface version, just like we have for Upstart 2012-07-22 01:18:01 -04:00
Eelco Dolstra 44cf3d5808 systemd: Update to 187 2012-07-20 10:44:19 -04:00
Mathijs Kwik f3b43a268d linux-3.4: update to 3.4.6 2012-07-20 13:37:46 +02:00
Eelco Dolstra bfc2de46d1 sysklogd: Support systemd socket-based activation
Syslogd cannot open /dev/log directly but must receive syslog messages
from systemd (http://www.freedesktop.org/wiki/Software/systemd/syslog).
The patch adds support for that.
2012-07-19 12:46:39 -04:00
Eelco Dolstra 28a76a96be libcap: Update to 2.22
Systemd requires the recent CAP_SYSLOG capability.
2012-07-19 10:26:44 -04:00
Vladimír Čunát 196f5cb265 Fix broadcom_sta for linux-3.4 and clean nix source.
Idea from Kevin Quick, implementation from Gentoo. Also cleaned and
added a minor license patch from Gentoo. Builds for many x86_64 kernels.
2012-07-19 11:42:40 +02:00
Cillian de Róiste 70298ba42c Fix style: The meta.description field should be capitalised (niksnut) 2012-07-18 23:35:20 +02:00
Cillian de Róiste 933205acaf Add the sha256 for xf86-video-nested 2012-07-18 23:04:00 +02:00
Cillian de Róiste 8ebb309320 Pin xf86-video-nested to a revision that works with Xorg 7.6 2012-07-18 22:52:43 +02:00
Cillian de Róiste 6efd9b24d3 Add xf86-video-nested
This does not yet compile. I had a working version from an obsolete github repo, but then found the upstream repo. Perhaps it needs a newer Xorg.
2012-07-18 22:52:16 +02:00
Eelco Dolstra 26fa2425c6 Fix dmraid build
http://hydra.nixos.org/build/2842473
2012-07-18 09:25:58 -04:00
Shea Levy d04cbc85cf linux-3.4: Update to 3.4.5 2012-07-16 20:26:27 -04:00
Cillian de Róiste 039b709041 Fix the hardcoded /usr/local path in the debug ffado-diag, diagnostic script 2012-07-15 11:51:49 +02:00
Eelco Dolstra dc5ba23ab4 linux: Update to 3.2.23 2012-07-14 17:41:52 -04:00
Shea Levy 6bf409999f linux-3.4: Add the improved transaction scheduler for USB 2.0
This is needed for new Apple trackpads
2012-07-14 12:17:28 -04:00
Shea Levy 685acc6ef8 Linux 3.4: Enable options to make b43 work with bcm4331 2012-07-13 22:48:43 -04:00
Shea Levy 1a1ee54241 The word is spelled 'licenses', not 'lisences' 2012-07-13 20:58:58 -04:00
Shea Levy 5330b4a343 Add b43-firmware-5.100.138
Placed into a versioned nix file because kernels older than 3.2 need an older version.
2012-07-13 18:31:09 -04:00
Shea Levy 9d387d616d Add b43-firmware-cutter 2012-07-13 18:00:00 -04:00
Peter Simons cfb08fc600 mountall: strip trailing whitespace 2012-07-10 22:26:27 +02:00
Eelco Dolstra 0b07259865 linux: Update to 3.2.22 2012-07-10 09:18:12 -04:00
Eelco Dolstra 9abd2194ce Revert "qemu-kvm: update to 1.1.0"
This reverts commit df645c22cc.

KVM 1.1.0 breaks several VM builds.  The NixOS installer tests hang:

  http://hydra.nixos.org/build/2763935

but worse, some builds give random failures indicating corruption:

  http://hydra.nixos.org/build/2776221
  http://hydra.nixos.org/build/2776180
  http://hydra.nixos.org/build/2769347
  http://hydra.nixos.org/build/2769337
2012-07-08 18:42:55 -04:00
Eelco Dolstra 1afb3b58e1 systemd: Update to 186 2012-07-05 17:31:38 -04:00
Eelco Dolstra df645c22cc qemu-kvm: update to 1.1.0 2012-07-05 12:55:50 -04:00
Peter Simons 82b2588e35 Linux no-xsave.patch: commit patch into Nixpkgs since fetchurl no longer works
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 16:53:53 +02:00
Peter Simons 09bb4b0292 ati-drivers: update download URL
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 16:53:52 +02:00
Peter Simons c64e1c214f psmisc: update to version 22.19
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 16:53:52 +02:00
Eelco Dolstra b5949d2509 busybox: Update to 1.20.1 2012-06-28 14:05:56 -04:00
Peter Simons aa5b45fc3e amd-ucode: add AMD processor microcode patch version 2012-01-17
Enable by adding "hardware.firmware = [ pkgs.amdUcode ];" to configuration.nix.
2012-06-28 19:54:24 +02:00
Lluís Batlle i Rossell 876ff45fd5 linux perf: Allowing perf to build with its gtk interface.
Disabled by default, it can be enabled using overrides.
2012-06-27 22:23:15 +02:00
Mathijs Kwik f97a277efc linux kernel: 3.4.2 -> 3.4.4 2012-06-24 10:03:09 +02:00
Eelco Dolstra d3cdacab03 klibc: Fix URL
P.S. the only reason we need klibc is because of the "nfsmount"
program in the initrd.  But I'm pretty sure we can use Busybox's mount
command there.
2012-06-22 12:02:12 -04:00
Eelco Dolstra 023e8f2fb9 * Linux 3.2.21.
svn path=/nixpkgs/trunk/; revision=34570
2012-06-20 12:42:56 +00:00
Eelco Dolstra 1c5f4b8b45 * Fix the gid for /dev/pts/ ttys.
svn path=/nixpkgs/trunk/; revision=34566
2012-06-19 19:58:49 +00:00
Eelco Dolstra 6551b822af * Enable devtmpfs since recent udev (systemd) versions need it.
svn path=/nixpkgs/trunk/; revision=34565
2012-06-19 19:10:54 +00:00
Eelco Dolstra 1582276602 * Drop some old obsolete kernels and unused patches.
svn path=/nixpkgs/trunk/; revision=34558
2012-06-19 15:56:17 +00:00
Eelco Dolstra cf6db2bbac * "powermanagement" is not a word.
svn path=/nixpkgs/trunk/; revision=34557
2012-06-19 15:01:49 +00:00
Lluís Batlle i Rossell 972006aa43 Making nvidia 96.x build on linux 3.4. I took patches from AUR.
svn path=/nixpkgs/trunk/; revision=34552
2012-06-18 18:15:26 +00:00
Lluís Batlle i Rossell a5c2318d08 Fixing the mips patch for sigill fpu cases.
svn path=/nixpkgs/trunk/; revision=34527
2012-06-16 15:37:04 +00:00
Lluís Batlle i Rossell 3874e5812d Adding two kernel patches for mips, that make the life easier on loongson2f
(less sigill, less sigbus). Related to bad handling of FPU instructions.

I apply them only to linux 3.4, although I think they can apply to many older kernels too.


svn path=/nixpkgs/trunk/; revision=34522
2012-06-16 10:49:03 +00:00
Eelco Dolstra 404c21de2f * kmod: look in /etc/modprobe.d.
svn path=/nixpkgs/trunk/; revision=34521
2012-06-15 18:12:25 +00:00
Eelco Dolstra 9e76f38ee2 * kmod updated to version 8. Disabled the xz and zlib dependencies
because they're inconvenient in the initrd.  Put modprobe etc. in
  $out/sbin.

svn path=/nixpkgs/trunk/; revision=34520
2012-06-15 17:58:42 +00:00
Eelco Dolstra d9df48bd36 * Copy some things from the udev package.
svn path=/nixpkgs/trunk/; revision=34519
2012-06-15 17:06:06 +00:00
Eelco Dolstra 44210695c8 * systemd: fix path to loadkeys/setfont, and add SysV compatibility
links (reboot/shutdown/etc.).

svn path=/nixpkgs/trunk/; revision=34515
2012-06-14 22:10:52 +00:00
Eelco Dolstra 4cfe058218 * Linux 3.2.20.
svn path=/nixpkgs/trunk/; revision=34486
2012-06-12 22:27:55 +00:00
Mathijs Kwik 3d4ab75229 linux kernel headers: copy generated headers as well
as they are referenced from other kernel headers, this seems like the
best thing to do. Ubuntu seems to do so too.

Fixes issues with nvidia's binary driver and bbswitch on kernels > 3.3

svn path=/nixpkgs/trunk/; revision=34469
2012-06-11 17:41:11 +00:00
Mathijs Kwik 46beccef20 linux kernel aufs (needed for livecd): added to 3.4
upgraded 3.3 version to stable

svn path=/nixpkgs/trunk/; revision=34468
2012-06-11 17:41:05 +00:00
Eelco Dolstra d63bcce038 * Added pam_ssh_agent_auth, a PAM module for authentication through
the SSH agent.

svn path=/nixpkgs/trunk/; revision=34462
2012-06-11 16:45:54 +00:00
Florian Friesdorf a44af6bbc1 powertop-2.0
svn path=/nixpkgs/trunk/; revision=34451
2012-06-11 10:28:21 +00:00
Lluís Batlle i Rossell 1697485678 Updating linux 3.4.1 to 3.4.2
svn path=/nixpkgs/trunk/; revision=34423
2012-06-10 15:24:28 +00:00
Lluís Batlle i Rossell 9ebd661fb8 Updating linux 3.4 to 3.4.1
svn path=/nixpkgs/trunk/; revision=34411
2012-06-09 20:25:48 +00:00
Eelco Dolstra dd6ab8d7bf * Linux 3.2.19.
svn path=/nixpkgs/trunk/; revision=34382
2012-06-08 13:11:38 +00:00
Arie Middelkoop 3c74283d03 Committing some outstanding modifications that I cannot make into smaller chunks anymore.
* added briss: a pdf cropper
* added compton, an improved fork of xcompmgr
* added myself to the maintainers list
* minor version bumps: xcompmgr, upower


svn path=/nixpkgs/trunk/; revision=34380
2012-06-08 10:16:46 +00:00
Eelco Dolstra e9a003e3a2 * Updated systemd to 185 (which I overlooked because of the version
jump).  This contains the merged udev.

svn path=/nixpkgs/trunk/; revision=34371
2012-06-06 16:07:30 +00:00
Lluís Batlle i Rossell 0332f87a0b Adding windows jom; it does not build for me still, but it's close to it.
I think it's better to share it though. I wrote a comment about the expression
not building.


svn path=/nixpkgs/trunk/; revision=34365
2012-06-05 21:24:27 +00:00
Eelco Dolstra 1d828ffaab * systemd: use units in /etc rather than $out/etc. Also fix
references to mount/umount.

svn path=/nixpkgs/trunk/; revision=34332
2012-06-04 03:21:12 +00:00
Lluís Batlle i Rossell 472808c5f9 Adding mesa and libaio to qemu-kvm. As for libaio, I think it runs much better for IO for me.
svn path=/nixpkgs/trunk/; revision=34254
2012-05-28 09:13:30 +00:00