Commit Graph
91278 Commits
Author SHA1 Message Date
aszlig 80c2cc350c nixos/tests/vbox: Disable audio for VBox guests
We don't have (simulated) sound hardware within the qemu VM, neither do
we have it available within VirtualBox that's running within the qemu
VMs.

With sound hardware the VirtualBox UI displays an error dialog, which in
turn causes the VM process to hang on unregister. This in turn has
caused the tests to fail because of the following error:

Cannot unregister the machine '...' while it is locked

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 23:17:47 +02:00
aszlig e18f4a2cf9 virtualbox: Build with PulseAudio by default
If people want to disable support for PulseAudio they can still
explicitly use pulseaudio = false in their nixpkgs config.

But even with enabled PulseAudio support, it's still optional, enabled
at runtime and can be turned off in VirtualBox settings as well.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Issue: #15005
2016-09-13 15:08:36 +02:00
aszlig 562c7f56f0 nixos/tests/vbox: Make shutdown less noisy
Using waitUntilSucceeds for testing whether the shutdown signalling
files have vanished is quite noisy because it prints two lines for every
try. This is now fixed with a while loop on the guest VM which does the
same check but with only one output for the command that's executed and
another one when the conditions are met.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 14:55:52 +02:00
aszlig e19aa3819e virtualbox: 5.1.4 -> 5.1.6
Upstream changelog without bug numbers:

  * GUI: fixed issue with opening '.vbox' files and it's aliases
  * GUI: keyboard grabbing fixes
  * GUI: fix for passing through Ctrl + mouse-click
  * GUI: fixed automatic deletion of extension pack files
  * USB: fixed showing unknown device instead of the manufacturer or
         product description under certain circumstances
  * XHCI: another fix for a hanging guest under certain conditions, this
          time for Windows 7 guests
  * Serial: fixed high CPU usage with certain USB to serial converters
            on Linux hosts
  * Storage: fixed attaching stream optimized VMDK images
  * Storage: reject image variants which are unsupported by the backend
  * Storage: fixed loading saved states created with VirtualBox 5.0.10
             and older when using a SCSI controller
  * Storage: fixed broken NVMe emulation if the host I/O cache setting
             is enabled
  * Storage: fixed using multiple NVMe controllers if ICH9 is used
  * NVMe: fixed a crash during reset which could happen under certain
          circumstances
  * Audio: fixed microphone input (5.1.2 regression)
  * Audio: fixed crashes under certain conditions (5.1.0 regression)
  * Audio: fixed recording with the ALSA backend (5.1 regression)
  * Audio: fixed stream access mode with OSS backend (5.1 regression,
           thanks to Jung-uk Kim)
  * E1000: do also return masked bits when reading the ICR register,
           this fixes booting from iPXE (5.1.2 regression)
  * BIOS: fixed 4bpp scanline calculation
  * API: relax the check for the version attribute in OVF/OVA appliances
  * Windows hosts: fixed crashes when terminating the VM selector or
                   other VBox COM clients
  * Linux Installer: fixed path to the documentation in .rpm packages
                     (5.1.0 regression)
  * Linux Installer: fixed the vboxdrv.sh script to prevent an SELinux
                     complaint
  * Linux hosts: don't use 32-bit legacy capabilities
  * Linux Additions: Linux 4.8 fix for the kernel display driver
  * Linux Additions: don't load the kernel modules provided by the Linux
                     distribution but load the kernel modules from the
                     official Guest Additions package instead
  * Linux Additions: fix dynamic resizing problems in recent Linux
                     guests
  * User Manual: fixed error in the VBoxManage chapter for the
                 getextradata enumerate example

The full upstream changelog with bug numbers can be found at:

https://www.virtualbox.org/wiki/Changelog-5.1#v6

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 14:07:56 +02:00
aszlig eea4af1c4c nixos/virtualbox-image: Fix path to virtualbox
VirtualBox user space binaries now no longer reside in linuxPackages, so
let's use the package for the real user space binaries instead.

Tested using the following command:

nix-build nixos/release.nix -A ova.x86_64-linux

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 07:26:59 +02:00
aszlig 4a44eca07d nixos/release-notes: Add VirtualBox changes
The change is backwards-compatible for users of the NixOS module but not
if people were using the package directly, so let's warn users about
that.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 06:34:33 +02:00
aszlig d2af4c6722 virtualbox: Explicitly state Qt 5 dependencies
In 2942815968, the dependencies for Qt 5
were passed using buildEnv with all the development binaries, headers
and libs. Unfortunately, the build output references that environment
which also increases the size of the runtime closure.

The upstream makefile assumes a common Qt 5 library path, but that's not
the case within Nix, because we have separate paths for the Qt 5
modules.

We now patch the makefile to recognize PATH_QT5_X11_EXTRAS_{LIB,INC} so
that we can pass in the relevant paths from Qt5X11Extras.

In summary, the closure size goes down to 525559600 bytes (501 MB)
instead of 863035544 bytes (823 MB) with vbox-qt5-env.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 06:12:42 +02:00
aszlig 8bd89c922d virtualbox: Split kernel modules into own package
Putting the kernel modules into the same output path as the main
VirtualBox derivation causes all of VirtualBox to be rebuilt on every
single kernel update.

The build process of VirtualBox already outputs the kernel module source
along with the generated files for the configuration of the main
VirtualBox package. We put this into a different output called "modsrc"
which we re-use from linuxPackages.virtualbox, which is now only
containing the resulting kernel modules without the main user space
implementation.

This not only has the advantage of decluttering the Nix expression for
the user space portions but also gets rid of the need to nuke references
and the need to patch out "depmod -a".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 06:12:38 +02:00
aszlig 6d69293f26 virtualbox: Generate and use upstream-info.json
We now no longer need to update VirtualBox manually, which has a few
advantages. Along with making it just easier to update this also makes
the update procedure way less error-prone, for example if people forget
to bump the extension pack revision or to update the guest additions.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 06:12:34 +02:00
aszlig f5ab9c81a8 virtualbox: Add an update script
Just a small updater which should fetch the latest sha256sums from the
upstream site and check whether the current version is the latest one.

The output is in a JSON file in the same directory, which then will be
used by the Nix expressions to fetch the upstream files.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 03:24:47 +02:00
Christian Albrecht 2942815968 virtualbox: 5.0.26 -> 5.1.4 2016-09-12 17:22:31 +02:00
vbglandGitHub 30107249b1 Merge pull request #17973 from vbgl/mpv-darwin
mpv: fix on darwin
2016-09-12 15:13:40 +02:00
Vincent Laporte 637412e373 mpv: fix on darwin 2016-09-12 14:42:38 +02:00
Vincent Laporte b8ed622bbb lua-sockets: fix on darwin 2016-09-12 14:42:37 +02:00
Frederik Rietdijk 44dc13aad6 mendeley: 1.16.2 -> 1.16.3 2016-09-12 14:19:18 +02:00
Domen KožarandGitHub 5ecb8b0c51 Merge pull request #18483 from nbp/revert-14398
Using self prevent aliasing overriden packages
2016-09-12 14:02:13 +02:00
Michael Raskin d1bf595cc5 wine: 1.8.3 -> 1.8.4; wineUnstable: 1.9.16 -> 1.9.18 2016-09-12 13:08:51 +02:00
Michael Raskin 11bc6ea4ae firejail: 0.9.42-rc1 -> 0.9.42 2016-09-12 13:01:34 +02:00
Michael Raskin 357d544d23 libreoffice-fresh: 5.2.0.4 -> 5.2.1.2 2016-09-12 12:58:30 +02:00
Michael Raskin 242cea8a63 libreoffice: generate-libreoffice-srcs.sh: take into account that LO now sometimes lets the checksum go after the tarball 2016-09-12 12:58:30 +02:00
Tuomas Tynkkynen 49f4ba7ae0 Merge commit 'e0b5eef' from staging into master 2016-09-12 13:21:45 +03:00
Shea Levy 38f074435a melpa: Fix nix-buffer and inherit-local, add stable 2016-09-12 06:12:16 -04:00
Emery Hemingway 3adbc07af7 matrix-synapse: 0.17.1 -> 0.17.2 2016-09-12 11:52:16 +02:00
Peter Simons 79ab2f3b32 haskell-timezone-series: block version 1.6 update
The new version's build is completely broken: https://github.com/ygale/timezone-series/issues/2.
2016-09-12 11:28:58 +02:00
Peter Simons 4da51ec637 structured-haskell-mode: link Haskell libraries statically into this executable
It's my understanding that Emacs runs the "structured-haskell-mode" binary
virtually every time you press a key in an Haskell buffer, and since
dynamically linked Haskell binaries take *much* longer to start up, switching
this particular package to statically linked libraries ought to result in a
performance boost.
2016-09-12 11:28:58 +02:00
cmfwypandRobert Helgesson 4659e2d54b libre-franklin: init at 1.014 2016-09-12 11:13:33 +02:00
cmfwypandRobert Helgesson 323e74f457 libre-caslon: init at 1.002 2016-09-12 11:13:33 +02:00
cmfwypandRobert Helgesson db73ecc0f7 libre-bodoni: init at 2.000 2016-09-12 11:13:33 +02:00
cmfwypandRobert Helgesson 74de2c6b03 libre-baskerville: init at 1.000 2016-09-12 11:13:33 +02:00
cmfwypandRobert Helgesson 470855ed82 encode-sans: init at 1.002 2016-09-12 11:13:32 +02:00
cmfwypandRobert Helgesson 49e5e972b9 dosis: init at 1.007 2016-09-12 11:13:32 +02:00
cmfwypandRobert Helgesson d6404ad48e cabin: init at 1.005 2016-09-12 11:13:26 +02:00
Frederik RietdijkandGitHub 29f00f954b Merge pull request #18396 from rycee/fix/udiskie
udiskie: 1.4.8 -> 1.5.1
2016-09-12 11:05:38 +02:00
Bjørn Forsman 3e5fe418f8 android-studio: enable Android emulator support
These changes are needed to be able to run the system emulator (QEMU)
from Android Studio. In addition to the added dependencies,
$LD_LIBRARY_PATH had to be changed from --set to --prefix, so that libGL
is found (on NixOS).
2016-09-12 10:55:07 +02:00
Jesse Haber-Kucharskyandvbgl 99e06fe771 opam, aspcud: init packages for external solver (#16938)
The opam package manager relies on external solvers to determine package
management decisions it makes related to upgrades, new installations,
etc.

While, strictly speaking, an external solver is optional, aspcud is
highly recommended in documentation. Furthermore, even having a
relatively small number of packages installed quickly causes the limits
of the interal solver to be reached (before it times out).

Aspcud itself depends on two programs from the same suite: gringo, and
clasp.

On Darwin, Boost 1.55 (and thus Gringo) do not build, so we only support
Aspcud on non-Darwin platforms.
2016-09-12 10:44:50 +02:00
Daniel PeeblesandGitHub 8d8f57d4aa mention-bot: notify me when darwin stdenv stuff changes 2016-09-12 01:01:14 -04:00
Langston BarrettandFranz Pletz 25a7ded89c audio services: use mkEnableOption (#18524) 2016-09-12 04:47:08 +02:00
Joachim FandGitHub 7be55e7f71 Merge pull request #18518 from mayflower/sonarr_4323
sonarr: 2.0.0.4230 -> 2.0.0.4323
2016-09-12 03:28:09 +02:00
Joachim FandGitHub 5a0a21c9a0 Merge pull request #18519 from mayflower/emby_7100
emby: 3.0.6400 -> 3.0.7100
2016-09-12 03:27:47 +02:00
Kirill BoltaevandNikolay Amiantov 241fa7fa26 gnome2.gnome_settings_daemon: add libSM to fix build 2016-09-12 03:10:21 +03:00
Kirill BoltaevandNikolay Amiantov e3033d87b3 gnome2.gnome_control_center: add libSM to fix build 2016-09-12 02:50:38 +03:00
Kirill BoltaevandNikolay Amiantov 43a8ce0f5e gtkmathview: mark as broken 2016-09-12 02:50:38 +03:00
Kirill BoltaevandNikolay Amiantov 605ddb1047 gnome2.gnome_session: mark as broken 2016-09-12 02:50:38 +03:00
Kirill BoltaevandNikolay Amiantov 8b96b391db gnome2.at_spi: disable hardening to fix build 2016-09-12 02:50:38 +03:00
Joachim FandGitHub cafd4a7668 Merge pull request #18373 from tavyc/mc
mc: Enable support for SFTP and SMB.
2016-09-12 01:49:00 +02:00
Franz Pletz 300adc8458 mpd: 0.19.15 -> 0.19.19 2016-09-11 23:24:37 +02:00
Franz Pletz 0d919d4755 libopus: 1.1.2 -> 1.1.3 2016-09-11 23:24:10 +02:00
Franz Pletz 80f38e9032 prometheus service: move to separate folder 2016-09-11 23:20:26 +02:00
Franz PletzandGitHub 5a7e5537aa Merge pull request #18298 from teh/prometheus-service
Prometheus service
2016-09-11 23:18:36 +02:00
Tuomas Tynkkynen e0b5eef4e7 lib.chooseDevOutputs: Use lib.getDev
Reduces duplication, plus is actually needed for Go packages (at least
go-repo-root).
2016-09-12 00:18:18 +03:00