Commit graph

958 commits

Author SHA1 Message Date
Lluís Batlle i Rossell 2aba922d30 My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter, 
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:

bashRealArm = makeOverridable (import ../shells/bash) {
    inherit fetchurl bison;
    stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};

Meanwhile it does not work - I still cannot get the cross-gcc to build.

I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.

I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...

I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.

This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.

I cared not to break anything of the usual stdenv in all this work.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
Lluís Batlle i Rossell 6864119104 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18341
2009-11-13 19:19:34 +00:00
Lluís Batlle i Rossell 605b62da11 Enabling ipv6 at least as module in the zen5 arm kernel
svn path=/nixpkgs/branches/stdenv-updates/; revision=18315
2009-11-09 23:26:34 +00:00
Lluís Batlle i Rossell 6d092c3371 Adding kvm88, although without the patches kvm86 had for some nix advantages (samba, ...),
because they don't apply directly.

svn path=/nixpkgs/trunk/; revision=18309
2009-11-09 11:55:23 +00:00
Michael Raskin 6722c6c22f A package to feed to HAL to get synaptics support
svn path=/nixpkgs/trunk/; revision=18299
2009-11-08 22:12:55 +00:00
Lluís Batlle i Rossell 1b37fc42bb Updating options for the versatileARM kernel, so it matches something
usable and buildable from a sheevaplug.
I took the additional settings from:
http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu


svn path=/nixpkgs/branches/stdenv-updates/; revision=18296
2009-11-08 20:09:37 +00:00
Lluís Batlle i Rossell 7769ad11bd Updating the logic to put the resulting kernel image into its store path.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18289
2009-11-08 17:19:46 +00:00
Marco Maggesi e3204aa407 New version of cryopid.
Update package cryopid to a new (unstable) version.
The old (stable) version of cryopid works only with old linux kernels.

svn path=/nixpkgs/trunk/; revision=18286
2009-11-08 10:38:07 +00:00
Lluís Batlle i Rossell 4326d07c11 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates2/; revision=18278
2009-11-08 01:57:40 +00:00
Lluís Batlle i Rossell f1ee14bfaf Removing fetchgit --depth and its usage. It does not provide much advantages...
I think it takes the recent N commits into the repository, which says very little,
even for wanting master/HEAD.

svn path=/nixpkgs/trunk/; revision=18277
2009-11-08 01:51:20 +00:00
Lluís Batlle i Rossell 4b27d28701 Porting changes from stdenv-updates into this branch.
This comes from:
svn diff  ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.

trunk@18255 comes from the last time I updated stdenv-updates from trunk.


svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00
Michael Raskin 6e86ca940f Make a medium-depth checkout
svn path=/nixpkgs/trunk/; revision=18266
2009-11-07 19:43:53 +00:00
Michael Raskin dca59abcca Update Zen Kernel
svn path=/nixpkgs/trunk/; revision=18174
2009-11-05 23:32:48 +00:00
Michael Raskin df69473bd2 Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems
svn path=/nixpkgs/trunk/; revision=18159
2009-11-05 21:10:51 +00:00
Peter Simons 4d675a283e pkgs/development/interpreters/python/2.6/default.nix: fixed build on Darwin
svn path=/nixpkgs/trunk/; revision=18136
2009-11-05 13:44:30 +00:00
Eelco Dolstra 4f839e9a54 * Sync with the trunk.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18122
2009-11-04 22:37:24 +00:00
Eelco Dolstra 45ba16864f * Deleted some obsolete kernels (2.6.20, 2.6.21, 2.6.22, 2.6.23 and
the 2.6.31rcs).

svn path=/nixpkgs/trunk/; revision=18065
2009-11-01 17:17:40 +00:00
Eelco Dolstra c9b79a3d84 * Oops, wrong version.
svn path=/nixpkgs/trunk/; revision=18057
2009-10-30 18:13:08 +00:00
Eelco Dolstra 65d399ff81 * Upstart 0.6.2.
svn path=/nixpkgs/trunk/; revision=18056
2009-10-30 18:12:28 +00:00
Eelco Dolstra 97ea4b3375 * Updated ALSA.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18055
2009-10-30 15:05:13 +00:00
Eelco Dolstra 35593f5cd5 * NVIDIA X11 driver updated to 190.42.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18023
2009-10-29 13:47:44 +00:00
Eelco Dolstra 41879a5c74 * Linux 2.6.27.38.
svn path=/nixpkgs/trunk/; revision=17985
2009-10-28 12:07:00 +00:00
Michael Raskin ab85fbeec4 Updating fbterm
svn path=/nixpkgs/trunk/; revision=17981
2009-10-27 23:49:59 +00:00
Ludovic Courtès 37b42b3ab7 Linux: Enable `sdhci', for Ricoh SD readers.
svn path=/nixpkgs/trunk/; revision=17954
2009-10-25 15:22:54 +00:00
Michael Raskin c6c9129761 Removing references to old zen-kernels that are in archived branches; Updating from zen-sources.org to zen-kernel.org; Updating revision; Adding patch by Pierre to enable external hubs
svn path=/nixpkgs/trunk/; revision=17930
2009-10-23 05:21:54 +00:00
Eelco Dolstra 21ddf5e52e * Linux 2.6.27.37.
svn path=/nixpkgs/trunk/; revision=17909
2009-10-21 13:07:09 +00:00
Peter Simons 90dd9d14bf python-2.6: fixed build on Darwin
* Dropped "nolongdouble.patch". The patch no longer applies to Python 2.6, and
   apparently isn't required anymore either.

 * Added access to native Darwin arch utility. Python tries to run 'arch' in
   the configure stage, but that binary reside in /usr/bin. To make it
   available to the expression, the small wrapper darwinArchUtility is added as
   a buildInput if appropriate.

 * Don't pass --enable-shared. The build fails if we try to enable building of
   shared libraries, apparently because some required libraries aren't linked,
   i.e. the linker call isn't right.

TODO:

 * Figure out how to enable shared linking.

 * The resulting binary on Darwin seem to lack the binascii module.

svn path=/nixpkgs/trunk/; revision=17894
2009-10-20 12:13:49 +00:00
Lluís Batlle i Rossell 662dbb3cb4 Updating ipw2200 firmware from 3.0 to 3.1.
I found no benefit from it. This card worked at most at 500KB/s for me at bitrate 54Mb/s,
and it works the same way with the fw 3.1.

svn path=/nixpkgs/trunk/; revision=17812
2009-10-14 21:56:45 +00:00
Eelco Dolstra 257ffc8e73 * Fix broken meta attributes.
svn path=/nixpkgs/trunk/; revision=17773
2009-10-13 09:39:27 +00:00
Eelco Dolstra 55ad6675dc * Fix some packages that broke because libuuid can be null on Darwin.
buildDefs doesn't like buildInputs containing nulls.
* In all-packages.nix: xfsProgs -> xfsprogs, jfsUtils -> jfsutils to
  match the upstream name.

svn path=/nixpkgs/trunk/; revision=17726
2009-10-08 13:07:56 +00:00
Michael Raskin cd2e2948a8 Adding a zen-stable head version
svn path=/nixpkgs/trunk/; revision=17663
2009-10-06 06:12:08 +00:00
Michael Raskin edbbddce1d 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.
svn path=/nixpkgs/trunk/; revision=17661
2009-10-06 05:43:51 +00:00
Eelco Dolstra 68082057fe * Urgh.
svn path=/nixpkgs/trunk/; revision=17614
2009-10-02 15:15:18 +00:00
Eelco Dolstra e4672f42e5 svn path=/nixpkgs/trunk/; revision=17613 2009-10-02 15:06:07 +00:00
Michael Raskin be8eb4e6d7 Gw6c tarball is now uncompessed.. Do not ask me why
svn path=/nixpkgs/trunk/; revision=17515
2009-09-29 16:22:23 +00:00
Michael Raskin e2b05ffd3a Gw6c client got updated
svn path=/nixpkgs/trunk/; revision=17513
2009-09-29 15:59:37 +00:00
Eelco Dolstra 176c0e32b1 * net-tools: install the manpages in $out/share/man/manN instead of
$out/share/manN.  Cleaned up the expression at the same time.

svn path=/nixpkgs/trunk/; revision=17509
2009-09-29 15:33:03 +00:00
Michael Raskin 9bcea7563d Boost library reference change no longer needed
svn path=/nixpkgs/trunk/; revision=17487
2009-09-29 04:30:28 +00:00
Eelco Dolstra af88789507 * Bluez 4.54.
svn path=/nixpkgs/trunk/; revision=17473
2009-09-28 16:25:38 +00:00
Eelco Dolstra 06e126b48f * Latest libsmbios.
* Build HAL with libsmbios support.

svn path=/nixpkgs/trunk/; revision=17472
2009-09-28 15:33:42 +00:00
Eelco Dolstra 9bc85fda47 * qemu-kvm 0.11.0.
svn path=/nixpkgs/trunk/; revision=17468
2009-09-28 14:28:20 +00:00
Eelco Dolstra b642db4d0e * Build HAL with pm-utils support.
svn path=/nixpkgs/trunk/; revision=17450
2009-09-26 20:29:26 +00:00
Eelco Dolstra 77ba759b5a * Install HAL's umount helper. This is necessary to allow non-root
users to unmount or eject removable media mounted through HAL from
  the command-line.

svn path=/nixpkgs/trunk/; revision=17447
2009-09-26 18:56:53 +00:00
Eelco Dolstra 363f3fd1b9 * Use /etc/pm for the configuration.
svn path=/nixpkgs/trunk/; revision=17446
2009-09-26 17:09:51 +00:00
Eelco Dolstra a96c83d70e * Build HAL with ConsoleKit and PolicyKit support. Without it, HAL's
configure script prints out this ominous warning:

WARNING: PolicyKit is disabled. You need to manually edit the hal.conf
         file to lock down the service. Failure to do so allows any
         caller to make hald do work on their behalf which may be
         a huge SECURITY HOLE. I repeat: YOU NEED TO EDIT THE FILE
         hal.conf to match your distro/site to avoid NASTY SECURITY HOLES.

  Note that HAL only builds with the old PolicyKit (it looks for
  polkit.pc).  Reverted ConsoleKit to the last version that used the
  old PolicyKit for this reason.

svn path=/nixpkgs/trunk/; revision=17432
2009-09-25 23:05:53 +00:00
Eelco Dolstra ef2f9c1968 * Added pm-utils.
svn path=/nixpkgs/trunk/; revision=17430
2009-09-25 21:43:25 +00:00
Eelco Dolstra 90fc367427 * e2fsprogs 1.41.9.
svn path=/nixpkgs/trunk/; revision=17429
2009-09-25 20:53:21 +00:00
Eelco Dolstra 213519d327 * Linux 2.6.27.35.
svn path=/nixpkgs/trunk/; revision=17422
2009-09-25 18:59:07 +00:00
Eelco Dolstra 251c7207cf * Revert to KVM 76 in the VM build functions. The latest qemu-kvm has
weird performance and data corruption regressions in the build farm.

svn path=/nixpkgs/trunk/; revision=17364
2009-09-23 14:24:37 +00:00
Peter Simons 8a9c1f6781 htop: updated to version 0.8.3
svn path=/nixpkgs/trunk/; revision=17355
2009-09-22 19:37:18 +00:00
Rob Vermaas a9d801d645 * added davfs2 1.4.1
svn path=/nixpkgs/trunk/; revision=17345
2009-09-22 08:12:11 +00:00
Marc Weber 8398a33112 pass jackaudio to alsaPlugins also adding convinient wrapper script
svn path=/nixpkgs/trunk/; revision=17340
2009-09-21 15:55:26 +00:00
Marc Weber 862fcb0252 adding alsa-plugin and patching alsa so that you can tell it about additional plugins
svn path=/nixpkgs/trunk/; revision=17316
2009-09-20 21:54:23 +00:00
Marc Weber 295c76b1c1 adding bash completion script for upstart
svn path=/nixpkgs/trunk/; revision=17304
2009-09-20 17:01:24 +00:00
Lluís Batlle i Rossell 8515a7fa68 Adding me as a maintainer, with a pair of packages.
svn path=/nixpkgs/trunk/; revision=17295
2009-09-20 09:37:55 +00:00
Lluís Batlle i Rossell b1a7cd1692 Fixing cryptsetup build.
svn path=/nixpkgs/trunk/; revision=17293
2009-09-20 09:22:02 +00:00
Michael Raskin 107a5ee327 Adding dmraid
svn path=/nixpkgs/trunk/; revision=17292
2009-09-20 08:38:30 +00:00
Lluís Batlle i Rossell 854293fc7b Adding the nvidia legacy drivers (I still use a geForce 4 AGP)
svn path=/nixpkgs/trunk/; revision=17284
2009-09-19 22:09:08 +00:00
Lluís Batlle i Rossell 72d6ffb8cf Adding the firmware for the rt73 usb wifi nic.
svn path=/nixpkgs/trunk/; revision=17263
2009-09-18 20:45:10 +00:00
Michael Raskin 86a90971d7 I am an idiot. Correcting -zen1 -> -zen2
svn path=/nixpkgs/trunk/; revision=17242
2009-09-18 06:38:36 +00:00
Michael Raskin f13b0781cc Disabling PRAMFS in Zen Kernel for now
svn path=/nixpkgs/trunk/; revision=17241
2009-09-18 05:00:54 +00:00
Michael Raskin 19b45ac62d adding 2.6.31-zen1 kernel
svn path=/nixpkgs/trunk/; revision=17217
2009-09-17 08:39:00 +00:00
Eelco Dolstra 63dceffb0b * Latest lm_sensors.
svn path=/nixpkgs/trunk/; revision=17170
2009-09-15 22:06:38 +00:00
Michael Raskin b217a6c57b Try enabling VESA framebuffer
svn path=/nixpkgs/trunk/; revision=17169
2009-09-15 19:21:02 +00:00
Michael Raskin 07ed9e4611 Enable FB_CON_DECOR
svn path=/nixpkgs/trunk/; revision=17159
2009-09-15 12:29:15 +00:00
Michael Raskin 2a5e20ae3a Try enabling fbcondecor
svn path=/nixpkgs/trunk/; revision=17158
2009-09-15 11:37:18 +00:00
Michael Raskin 0428a7405a Fix aufs utilities for NixOS manual
svn path=/nixpkgs/trunk/; revision=17153
2009-09-15 10:28:40 +00:00
Michael Raskin af269992e1 Update feature set for Zen kernel; also tune HZ settings for BFS scheduler (didn't boot for me last time)
svn path=/nixpkgs/trunk/; revision=17151
2009-09-15 09:16:29 +00:00
Michael Raskin 9ff982e4ab Require AUFS2 support in kernel
svn path=/nixpkgs/trunk/; revision=17150
2009-09-15 08:55:41 +00:00
Michael Raskin a0fbdffaba fix typo
svn path=/nixpkgs/trunk/; revision=17149
2009-09-15 08:45:10 +00:00
Michael Raskin 9ebb44e92e AUFS2 utilities
svn path=/nixpkgs/trunk/; revision=17147
2009-09-15 07:58:44 +00:00
Michael Raskin a593492d4f Add a version of Zen kernel with Con Kolivas' BFS scheduler
svn path=/nixpkgs/trunk/; revision=17142
2009-09-14 21:56:31 +00:00
Michael Raskin 5ea58c412e Fix more problems with aufs2
svn path=/nixpkgs/trunk/; revision=17110
2009-09-14 13:30:33 +00:00
Michael Raskin f4162c9716 Turn off more debug options not needed by default
svn path=/nixpkgs/trunk/; revision=17103
2009-09-13 20:22:37 +00:00
Michael Raskin a8fa3e9cc9 Removing more debugging options from default 2.6.31 config
svn path=/nixpkgs/trunk/; revision=17101
2009-09-13 20:10:19 +00:00
Michael Raskin 5d3b1a1b07 Change some options most different from mainline to build a probably bootable kernel
svn path=/nixpkgs/trunk/; revision=17095
2009-09-13 16:37:17 +00:00
Michael Raskin 01063c854b Remove option stopping 2.6.31 from booting
svn path=/nixpkgs/trunk/; revision=17094
2009-09-13 16:24:44 +00:00
Eelco Dolstra eb6f32c9cb * Fix the aufs2 build (hopefully).
svn path=/nixpkgs/trunk/; revision=17080
2009-09-13 10:25:58 +00:00
Michael Raskin 0462878b22 Fixing a typo
svn path=/nixpkgs/trunk/; revision=17067
2009-09-12 07:33:55 +00:00
Michael Raskin a5023cf381 Adding 2.6.31 kernel and trying to generate config for it without manual operations
svn path=/nixpkgs/trunk/; revision=17065
2009-09-12 07:13:20 +00:00
Michael Raskin 11de02585a Trying to reconfigure kernel to boot
svn path=/nixpkgs/trunk/; revision=17064
2009-09-12 06:59:44 +00:00
Michael Raskin b3281f994f KQemu needs perl to build
svn path=/nixpkgs/trunk/; revision=17063
2009-09-12 06:11:21 +00:00
Michael Raskin 7cc0f07690 Fix kernel configuration editing script snippets
svn path=/nixpkgs/trunk/; revision=17053
2009-09-11 13:59:32 +00:00
Michael Raskin ec57ec6d6f Disable IMA because of conflict with aufs
svn path=/nixpkgs/trunk/; revision=17051
2009-09-11 13:50:40 +00:00
Michael Raskin 491255bbb3 Trying to add Zen Linux Kernel
svn path=/nixpkgs/trunk/; revision=17050
2009-09-11 13:16:18 +00:00
Marc Weber 21b7f04330 adding halevt
svn path=/nixpkgs/trunk/; revision=17027
2009-09-10 16:57:53 +00:00
Eelco Dolstra daceb23a25 * qemu-kvm 0.11.0rc2.
svn path=/nixpkgs/trunk/; revision=16995
2009-09-09 15:44:14 +00:00
Michael Raskin edd56d707a Update source updater to support fetchgit; add aufs2 using that method. Unfortunately, AUFS2 seems to require some strict conditions on kernel options and version..
svn path=/nixpkgs/trunk/; revision=16983
2009-09-08 09:35:21 +00:00
Eelco Dolstra e8931adcf3 * Latest NVIDIA driver. This one isn't broken on laptops.
svn path=/nixpkgs/trunk/; revision=16858
2009-08-26 09:01:05 +00:00
Eelco Dolstra b67e9a0415 * qemu-kvm unix domain patch: when accepting a connection, initialise
the remote address / port to something sensible.  Otherwise
  simultaneous connections to the same guest port don't work properly.

svn path=/nixpkgs/trunk/; revision=16805
2009-08-21 15:40:32 +00:00
Eelco Dolstra c7eb810826 * haddr -> hport.
svn path=/nixpkgs/trunk/; revision=16804
2009-08-21 14:26:46 +00:00
Eelco Dolstra 2dffe66c92 * Linux 2.6.27.31.
svn path=/nixpkgs/trunk/; revision=16754
2009-08-18 09:29:03 +00:00
Eelco Dolstra e93367dc45 * Enable auto-mounting/unmounting of optical media and USB sticks
(e.g. in KDE).

svn path=/nixpkgs/trunk/; revision=16745
2009-08-17 02:04:26 +00:00
Eelco Dolstra 6e89ec648c * ConsoleKit compatibility.
svn path=/nixpkgs/trunk/; revision=16740
2009-08-17 00:35:18 +00:00
Eelco Dolstra 9ea1a49aa2 * PolicyKit -> policy-kit (suggested by Ludovic).
* Oops, there already was a polkit package.  Mea culpa...

svn path=/nixpkgs/trunk/; revision=16721
2009-08-14 21:12:46 +00:00
Eelco Dolstra 40854d65b4 svn path=/nixpkgs/trunk/; revision=16700 2009-08-12 13:36:36 +00:00
Eelco Dolstra bbf64219b4 * More e2fsprogs -> libuuid.
svn path=/nixpkgs/trunk/; revision=16695
2009-08-11 22:29:03 +00:00
Eelco Dolstra a63c9c8e71 * hal: updated to 0.5.13.
* hal-info: updated to 20090716.

svn path=/nixpkgs/trunk/; revision=16686
2009-08-11 21:03:53 +00:00
Eelco Dolstra 17828d8442 * udev: updated to 145. Dropped support for doing a static build
since we don't need it anymore.  Patched the udev rules/helper
  programs for CD-ROM symlink generation and firmware loading so that
  we don't have to provide our own.

svn path=/nixpkgs/trunk/; revision=16684
2009-08-11 21:00:42 +00:00
Eelco Dolstra 6f70fd1c6b * util-linux-ng: updated to 2.16. Don't build a separate mount
anymore since the build process was very hacky.  Instead
  mount/umount looks for mount helpers in
  /var/run/current-system/sw/sbin.  It would be better to use an
  environment variable, but that would be risky if mount is setuid
  root.
* e2fsprogs: updated to 1.41.8.  Don't build libuuid, libblkid
  etc. anymore, since they have been moved to util-linux-ng.
* nfs-utils: updated to 1.2.0.

svn path=/nixpkgs/trunk/; revision=16682
2009-08-11 20:57:29 +00:00