Commit Graph

197 Commits

Author SHA1 Message Date
aszlig
1b8ec2eeec virtualbox: Don't build modules for guests.
We're the host so we don't need the kernel modules for the guest additions, as
they're build with in a separate derivation anyway.
2012-08-19 09:02:15 +02:00
aszlig
9fb1d2e6fc virtualbox: Remove redundant NIX_CFLAGS_COMPILE.
The "include/generated" stuff is already added to the search path by the kernel
modules build system, so no need to hack it in like this.
2012-08-19 09:02:15 +02:00
aszlig
3e62a02b17 virtualbox: Separate modules build and install.
First of all, modules won't install when there is no "make modules" prior to it,
so we're doing this now with a new function called forEachModule, so we can
avoid duplication as much as possible.

In addition this sets $sourcedir to the current directory of the configurePhase,
so we're able to find the source tree later on, after several chdir()s.
2012-08-19 09:02:15 +02:00
aszlig
e32d7843da virtualbox: Set depmod path to /do_not_use_depmod.
The scripts/depmod.sh checks whether the path in $DEPMOD is executable and only
executes it if that's the case. So, by setting DEPMOD to "/do_not_use_depmod"
the destination path doesn't exist _and_ thus isn't executable aswell.
2012-08-19 09:02:15 +02:00
aszlig
31d8a9a1f4 virtualbox: Fix wrong path when recursing modules.
The for loop didn't find $curdir, because it was set _after_ the directory has
been changed. The variable is now called $srcroot and is set before the
installPhase is changing directories.
2012-08-19 09:02:15 +02:00
aszlig
830e9db5dd virtualbox: Use Linux's kbuild to build modules.
Don't rely on VirtualBox's in-tree build scripts to set include paths correctly
and use the official way of the Linux kernel to build the modules. That way we
don't need to make ugly symlinks in the kernel tree or heavily patch VirtualBox.
2012-08-19 09:02:14 +02:00
Eelco Dolstra
c67c397c11 VirtualBox-GuestAdditions: Add to the channel 2012-08-14 13:43:37 -04:00
Jan Malakhovski
da7408e105 xen: Support PCI passthrough.
Previous commit reverted Xen back to 4.0.3 because xend from 4.1.* and newer
hangs for unknown reasons.
The new "xl" toolstack from 4.1.* and unstable works, yet PCI passthrough is not
supported by xl in 4.1.* and is broken in the unstable.

With this patch I was able to passthrough ATI Radeon HD 6950 without 3D
acceleration, though, to both Linux and Windows guests. Which is the best
archived result with Xen PCI passthrough on NixOS after trying out all possible
Xen versions.
Same VGA card works fine if passed through into a guest with KVM (acceleration,
GPGPU, everything works). I should have tried KVM from the start.
2012-08-08 03:16:57 +04:00
Jan Malakhovski
bff9f2720f Revert "xen: update to version 4.1.2"
This reverts commit af32fd6ce3.
2012-08-08 02:30:25 +04:00
Joachim Schiele
538b17a791 fixed most virt-manager issues! 2012-07-20 23:27:24 +00:00
Peter Simons
fd749dd9bf Merge pull request #32 from peti/xen-update
Xen for Linux 3.2
2012-07-16 02:27:23 -07:00
aszlig
8a5d9bad94 Update VirtualBox to version 4.1.18.
This should make #15 obsolete, as those patches were cherry-picked from
upstream.
2012-07-03 08:44:35 -04:00
Peter Simons
af32fd6ce3 xen: update to version 4.1.2
Patch submitted by Jan Malakhovski <oxij@oxij.org>.
2012-07-02 17:45:47 +02:00
Peter Simons
3ecf94ae27 Update VirtualBox and guest additions to v4.1.16.
This includes fixes for kernels up to v3.4, so we shouldn't get build failures
with kernel 3.4 anymore.

svn path=/nixpkgs/trunk/; revision=34438
2012-06-11 07:15:03 +00:00
Joachim Schiele
2a6579bdb6 virtinst installs now. still most tools don't work and virt-manager still has problems with finding libvirt.
svn path=/nixpkgs/trunk/; revision=34052
2012-05-10 19:29:54 +00:00
Joachim Schiele
2b126e57b2 virtinst is still missing, but i will finish this tomorrow
svn path=/nixpkgs/trunk/; revision=33999
2012-05-06 23:08:20 +00:00
Joachim Schiele
38ec761dcf nearly there, please someone check: libvirt/default.nix and see this post: http://www.redhat.com/archives/libvir-list/2007-May/msg00064.html
svn path=/nixpkgs/trunk/; revision=33998
2012-05-06 22:39:39 +00:00
Joachim Schiele
f6c6bdda81 virt-manager is not working yet, but as we are not using git yet, i use this to cooperate with viric ;-)
svn path=/nixpkgs/trunk/; revision=33997
2012-05-06 19:25:01 +00:00
Shea Levy
f9a88de275 VirtualBox 4.1.12
svn path=/nixpkgs/trunk/; revision=33888
2012-04-23 04:25:18 +00:00
Michael Raskin
e9226f1ca6 Add a needed dependency
svn path=/nixpkgs/trunk/; revision=33851
2012-04-20 04:31:17 +00:00
Shea Levy
5f01a1d8b6 Let virtualbox build on linux 3.3+
svn path=/nixpkgs/trunk/; revision=33498
2012-03-31 15:57:35 +00:00
Eelco Dolstra
bd8d003d69 * VirtualBox updated to 4.1.10. Drop the wrapper script since it no
longer seems needed.  Optionally build the Python bindings.  Disable
  the Java bindings by default to prevent a gratuitous dependency on
  the JDK.

svn path=/nixpkgs/trunk/; revision=33295
2012-03-20 13:54:01 +00:00
Lluís Batlle i Rossell
b4955eea65 Adding qemu 1.0.1.
svn path=/nixpkgs/trunk/; revision=33232
2012-03-18 10:31:15 +00:00
Shea Levy
6c99fad938 OMVF: Only need some of the sources, and symlinks instead of copies are fine
svn path=/nixpkgs/trunk/; revision=33090
2012-03-14 22:43:07 +00:00
Shea Levy
80f47974b7 OVMF: Actually support i686
svn path=/nixpkgs/trunk/; revision=33060
2012-03-14 07:29:11 +00:00
Shea Levy
6cf8e4f815 EDK2: Significant cleanup and
modularization, and add OVMF as an example of how to use it

svn path=/nixpkgs/trunk/; revision=33059
2012-03-14 06:57:58 +00:00
Joachim Schiele
88b69df2dc Added two missing dependencies (to make the packages build)
svn path=/nixpkgs/trunk/; revision=32890
2012-03-08 13:31:16 +00:00
Yury G. Kudryashov
57fd764a39 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32792
2012-03-05 10:00:23 +00:00
Eelco Dolstra
000051b196 * VirtualBox: drop the unnecessary dependency on HAL.
svn path=/nixpkgs/trunk/; revision=32745
2012-03-02 14:54:14 +00:00
Shea Levy
ea195b2507 svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32564
2012-02-25 19:57:34 +00:00
Eelco Dolstra
5f20423948 * Fix the VirtualBox build. It was broken since the Qt 4.8 update
because Qt 4.8 doesn't propagate dependencies such as "which" and
  "pkgconfig".  Thanks to Yury for pointing this out.
* Also updated VirtualBox to 4.1.8.

svn path=/nixpkgs/trunk/; revision=32527
2012-02-23 22:04:54 +00:00
Eelco Dolstra
722db331a3 * Updated novaclient.
svn path=/nixpkgs/trunk/; revision=32526
2012-02-23 21:25:59 +00:00
Eelco Dolstra
f71dd91a43 * Apply r32435 from the trunk (always build Python with SSL support).
Remove .ssl references from some packages missed in that commit.

svn path=/nixpkgs/branches/stdenv-updates/; revision=32469
2012-02-21 23:35:35 +00:00
Eelco Dolstra
a0bc441980 * Updated Xen to 4.0.3 (mostly to get it to build with GCC 4.6).
svn path=/nixpkgs/branches/stdenv-updates/; revision=32380
2012-02-18 00:18:26 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Alexander Tsamutali
69c91f30ce applications/virtualization/qemu: Added 0.15.nix
svn path=/nixpkgs/trunk/; revision=31401
2012-01-07 15:06:49 +00:00
Sander van der Burg
a56033ea14 Bumped virtualbox version to 4.1.6
svn path=/nixpkgs/trunk/; revision=30637
2011-11-30 14:44:29 +00:00
Yury G. Kudryashov
9f1347ae7e virtualbox-4.1.2
svn path=/nixpkgs/trunk/; revision=29677
2011-10-05 19:54:44 +00:00
Peter Simons
01022a1502 lxc: moved package into the "applications/virtualization" category
svn path=/nixpkgs/trunk/; revision=29491
2011-09-26 08:12:14 +00:00
Marco Maggesi
b7190d1e86 VirtualBox Guest Additions: install modules for Xorg version 1.9.x
svn path=/nixpkgs/trunk/; revision=28518
2011-08-12 14:27:28 +00:00
David Guibert
0ce8c08099 fix the compilation of virtualboxGuestaddition
svn path=/nixpkgs/trunk/; revision=28415
2011-08-09 09:07:29 +00:00
David Guibert
850748a6f3 update virtualbox guestadditions 4.1.0
svn path=/nixpkgs/trunk/; revision=28380
2011-08-08 12:11:57 +00:00
Shea Levy
be1bd9e6bf virtualbox: Bump to 4.1.0
svn path=/nixpkgs/trunk/; revision=28207
2011-08-06 20:52:11 +00:00
Eelco Dolstra
ed58c55155 * xen: Build succesfully if $out already exists (needed for WCRE).
svn path=/nixpkgs/trunk/; revision=27580
2011-07-02 19:21:28 +00:00
Eelco Dolstra
09c9c44403 * Use /etc/nova/nova.conf as the location of the config file.
svn path=/nixpkgs/trunk/; revision=27503
2011-06-20 14:26:49 +00:00
Ludovic Courtès
3cf686b4fc QEMU: Build with ncurses support.
svn path=/nixpkgs/trunk/; revision=27458
2011-06-14 16:28:17 +00:00
Eelco Dolstra
2cc5c73694 * Nova updated to 2011.2.
svn path=/nixpkgs/trunk/; revision=27408
2011-06-09 17:06:30 +00:00
Eelco Dolstra
2a276fe96e * Added novaclient.
svn path=/nixpkgs/trunk/; revision=27407
2011-06-09 15:06:21 +00:00
Eelco Dolstra
81e561ee2e svn path=/nixpkgs/trunk/; revision=27225 2011-05-11 13:55:50 +00:00
Shea Levy
1235977c25 Bump virtualbox guest additions to 4.0.4
svn path=/nixpkgs/trunk/; revision=26884
2011-04-18 19:41:34 +00:00
Shea Levy
bb0af0aa03 Bump virtualbox to 4.0.4
svn path=/nixpkgs/trunk/; revision=26883
2011-04-18 19:24:10 +00:00
Eelco Dolstra
5bd074a115 * Install the CA generation script.
svn path=/nixpkgs/trunk/; revision=26734
2011-04-07 09:58:46 +00:00
Eelco Dolstra
e9d435a195 svn path=/nixpkgs/trunk/; revision=26720 2011-04-06 15:08:36 +00:00
Eelco Dolstra
fbfb7714d0 * Apply an upstream patch to prevent dnsmasq from segfaulting due to
bad data from nova-dhcpbridge.

svn path=/nixpkgs/branches/modular-python/; revision=26661
2011-04-01 15:53:37 +00:00
Eelco Dolstra
1f01ba2ce4 * Install nova-api.conf in the right location.
svn path=/nixpkgs/branches/modular-python/; revision=26658
2011-04-01 15:03:48 +00:00
Eelco Dolstra
50ae7ab689 * Some hackery to get Nova to work.
svn path=/nixpkgs/branches/modular-python/; revision=26628
2011-03-31 13:21:07 +00:00
Eelco Dolstra
cfa011c026 * Getting closer...
svn path=/nixpkgs/branches/modular-python/; revision=26613
2011-03-30 17:04:27 +00:00
Eelco Dolstra
65190277dc * Nova: install the default nova-api.conf and use Boto 1.9 (2.0 doesn't work).
svn path=/nixpkgs/branches/modular-python/; revision=26611
2011-03-30 16:17:25 +00:00
Eelco Dolstra
1d6b63afb9 * openstack-compute -> nova (upstream doesn't know what to call it either).
svn path=/nixpkgs/branches/modular-python/; revision=26610
2011-03-30 15:00:53 +00:00
Eelco Dolstra
fc99d84ef2 * Set Nova's state path to /var/lib/nova.
svn path=/nixpkgs/branches/modular-python/; revision=26609
2011-03-30 14:57:51 +00:00
Eelco Dolstra
b6126a3a0a * Nova updated to 2011.1.1.
svn path=/nixpkgs/branches/modular-python/; revision=26605
2011-03-30 12:51:16 +00:00
Eelco Dolstra
7cec8397c6 * Add some more Nova dependencies: anyjson, amqplib, carrot,
sqlalchemy.  Updated nose to 1.0.0 to fix "make check" on Python
  2.7.

svn path=/nixpkgs/branches/modular-python/; revision=26595
2011-03-29 16:15:08 +00:00
Eelco Dolstra
353d450867 * wrapPythonPrograms: don't hard-code the Python library prefix.
svn path=/nixpkgs/branches/modular-python/; revision=26594
2011-03-29 15:19:59 +00:00
Eelco Dolstra
c1b64da1c9 * xen: use wrapPython.
svn path=/nixpkgs/branches/modular-python/; revision=26584
2011-03-28 18:12:32 +00:00
Eelco Dolstra
d89d26cdd2 * Added OpenStack Compute (Nova). It builds but doesn't work yet.
svn path=/nixpkgs/trunk/; revision=26047
2011-02-21 21:53:42 +00:00
David Guibert
a45d06f7fb Merge commit 'f54c97b' into HEAD
svn path=/nixpkgs/trunk/; revision=25768
2011-02-02 20:05:47 +00:00
David Guibert
ad3a08ef1c update virtualboxGuestAdditions to 4.0.2
svn path=/nixpkgs/trunk/; revision=25744
2011-02-02 06:54:57 +00:00
David Guibert
7544a6399f virtualbox: 3.2.10 -> 4.0.2
The upgrade is needed to compile virtualbox
with kernel 2.6.37.

svn path=/nixpkgs/trunk/; revision=25735
2011-01-31 09:42:48 +00:00
Michael Raskin
f3afe5cd08 Adding virt-viewer
svn path=/nixpkgs/trunk/; revision=25548
2011-01-13 22:30:32 +00:00
Evgeny Egorochkin
056394c0f2 VirtualBox: cleanup
svn path=/nixpkgs/trunk/; revision=25347
2011-01-02 19:37:13 +00:00
Evgeny Egorochkin
dc16cd8995 VirtualBox: version bump and compilation fix.
svn path=/nixpkgs/trunk/; revision=25344
2011-01-02 18:43:27 +00:00
Eelco Dolstra
770ca317ba * Get Xen to build with GCC 4.5 and Glibc 2.12.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25247
2010-12-22 19:38:26 +00:00
Evgeny Egorochkin
b909a4ce76 Virtualbox guest additions: fix runtime dep on which. Patch by Rohan Hart.
svn path=/nixpkgs/trunk/; revision=24903
2010-11-28 10:14:07 +00:00
Lluís Batlle i Rossell
b44c4a88e8 Setting me as maintainer of qemu, and telling hydra to build it (heavy package)
svn path=/nixpkgs/trunk/; revision=24861
2010-11-25 22:01:24 +00:00
Lluís Batlle i Rossell
79c06ac912 Updating qemu
svn path=/nixpkgs/trunk/; revision=24784
2010-11-20 14:48:23 +00:00
Evgeny Egorochkin
65b669feb8 VirtualBox: fix i686 compilation
svn path=/nixpkgs/trunk/; revision=24783
2010-11-20 10:41:53 +00:00
Sander van der Burg
c6f26ed797 Bumped VirtualBox version to 3.2.8
svn path=/nixpkgs/trunk/; revision=24147
2010-10-07 15:14:15 +00:00
Eelco Dolstra
3137cb5c59 * Apply some fixes to the xendomains script.
svn path=/nixpkgs/trunk/; revision=24120
2010-10-06 16:04:04 +00:00
Eelco Dolstra
d11c271dcb * Install the Xen manpages.
svn path=/nixpkgs/trunk/; revision=24109
2010-10-06 11:04:07 +00:00
Eelco Dolstra
b801c21d1f * Build Xen's stubdoms, in particular pv-grub (needed to securely boot
from a kernel/initrd stored on a guest filesystem).

svn path=/nixpkgs/trunk/; revision=24062
2010-10-04 23:25:03 +00:00
Eelco Dolstra
fd538ef53d * Fix some more paths in Xen, and make it use /etc/xen for its
configuration files.

svn path=/nixpkgs/trunk/; revision=23821
2010-09-16 15:21:28 +00:00
Eelco Dolstra
cdecced3b0 * Fix various references to /usr.
svn path=/nixpkgs/trunk/; revision=23788
2010-09-14 13:50:32 +00:00
Eelco Dolstra
cea083bec9 * Set the Python search path for Xen's Python scripts. As an
experiment, do this by patching a line setting sys.path into the
  script, rather than using makeWrapper.
* Xen requires pythonFull because it needs https/ssl support.

svn path=/nixpkgs/trunk/; revision=23710
2010-09-10 10:53:17 +00:00
Eelco Dolstra
c1867fe704 * Get Xen to build. It's not tested yet and doesn't include a Dom0
kernel.

svn path=/nixpkgs/trunk/; revision=23698
2010-09-09 16:45:18 +00:00
Sander van der Burg
8d1cc5fcc2 Upgraded VirtualBox guest additions to version 3.2.8 and fixed it to make it work with xorg-server-1.8.x again. The RandR support still doesn't work properly, however
svn path=/nixpkgs/trunk/; revision=23664
2010-09-07 12:08:24 +00:00
Eelco Dolstra
a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Eelco Dolstra
907bb1aac6 * ltrace: updated to 0.5.3.
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with
  SQLite.
* qemu-image: fix the URL.
* gdmap: make it build again (requires an older GTK+).
* rlwrap: updated to 0.37.
* smbfs-fuse -> fusesmb to match the upstream name.
* x11vnc: updated to 0.9.10.
* clearlyU: fix the URL.
* Various packages: follow the coding conventions.

svn path=/nixpkgs/trunk/; revision=22814
2010-07-29 18:55:16 +00:00
Eelco Dolstra
ba498d4a43 * composedArgsAndFun -> makeOverridable for consistency.
* Rename a few single-version packages to "default.nix".

svn path=/nixpkgs/trunk/; revision=22803
2010-07-29 08:21:21 +00:00
Sander van der Burg
953469729f Removed the VBoxRandR tool which does not exists anymore
svn path=/nixpkgs/trunk/; revision=21857
2010-05-19 11:10:15 +00:00
Sander van der Burg
202e36f856 Update VirtualBox + guest additions to version 3.1.8
svn path=/nixpkgs/trunk/; revision=21846
2010-05-18 19:10:28 +00:00
Sander van der Burg
903fff2bdd Fixed the download URL of virtualbox
svn path=/nixpkgs/trunk/; revision=20886
2010-03-31 09:49:58 +00:00
Sander van der Burg
e09befd926 Upgraded virtualbox guest additions to 3.1.6
svn path=/nixpkgs/trunk/; revision=20884
2010-03-31 09:32:52 +00:00
Sander van der Burg
88a67817c9 Upgraded VirtualBox to 3.1.6
svn path=/nixpkgs/trunk/; revision=20883
2010-03-31 09:31:13 +00:00
Lluís Batlle i Rossell
dddd34bc4e Updating qemu.
svn path=/nixpkgs/trunk/; revision=20458
2010-03-06 23:37:01 +00:00
Lluís Batlle i Rossell
7506ae348d Updating qemu
svn path=/nixpkgs/trunk/; revision=20115
2010-02-18 18:42:11 +00:00
Sander van der Burg
3b65d90edf Removed all root ownership stuff, so that the kernel modules will install in a chroot environment
svn path=/nixpkgs/trunk/; revision=20103
2010-02-18 14:04:22 +00:00
Sander van der Burg
2fb201871b Running the guest additions build in a chroot environment will not install the kernel modules. Removing the ownership attributes might prevents this
svn path=/nixpkgs/trunk/; revision=20097
2010-02-18 13:09:49 +00:00
Sander van der Burg
b036ee727a Fixed installation of virtualbox kernel modules
svn path=/nixpkgs/trunk/; revision=20077
2010-02-17 16:13:53 +00:00
Sander van der Burg
30b6f037a0 Upgraded VirtualBox to 3.1.4 which also fixes problems in recent NixOS releases. It took me a while to upgrade this, since the installer is different compared to older releases.
svn path=/nixpkgs/trunk/; revision=20057
2010-02-16 16:10:01 +00:00
Sander van der Burg
1033f5e6fa Oops: forgot to change version number in the name
svn path=/nixpkgs/trunk/; revision=20034
2010-02-15 22:54:08 +00:00