git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "qemu: 2.2.1 -> 2.4.0"

This reverts commit 0e0e3c0c08b77a64fc934795dc5d9647fbd58d42. I've been seeing quite some QEMU segfaults on Hydra, hopefully reverting the bump will fix the issue. (cherry picked from commit 863c121c0782b82900d736f9f71dbcfa80f62e1d) Signed-off-by: Domen Kožar <domen@dev.si>

commitdf592a6535d1800a99bed83747a5756d3fc149a4 authorDomen Kožar <domen@dev.si> dateMon 7 Sep 2015, 12:20 (11 years ago) parentd2f0bc7
2 files changed+11−8
pkgs/applications/virtualization/qemu/default.nix+4−4 pkgs/applications/virtualization/qemu/no-etc-install.patch+7−4
pkgs/applications/virtualization/qemu/default.nix+4−4
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, python, zlib, pkgconfig, glib, ncurses, perl, pixman
22, attr, libcap, vde2, alsaLib, texinfo, libuuid, flex, bison, lzo, snappy
3−, libseccomp, libaio, libcap_ng, gnutls, nettle
3+, libseccomp, libaio, libcap_ng, gnutls
44, makeWrapper
55, pulseSupport ? true, libpulseaudio
66, sdlSupport ? true, SDL
@@ -11,7 +11,7 @@
1111
1212with stdenv.lib;
1313let
14− n = "qemu-2.4.0";
14+ n = "qemu-2.2.1";
1515 audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
1616 + optionalString pulseSupport "pa,"
1717 + optionalString sdlSupport "sdl,";
@@ -22,13 +22,13 @@ stdenv.mkDerivation rec {
2222
2323 src = fetchurl {
2424 url = "http://wiki.qemu.org/download/${n}.tar.bz2";
25− sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j";
25+ sha256 = "181m2ddsg3adw8y5dmimsi8x678imn9f6i5p20zbhi7pdr61a5s6";
2626 };
2727
2828 buildInputs =
2929 [ python zlib pkgconfig glib ncurses perl pixman attr libcap
3030 vde2 texinfo libuuid flex bison makeWrapper lzo snappy libseccomp
31− libcap_ng gnutls nettle
31+ libcap_ng gnutls
3232 ]
3333 ++ optionals pulseSupport [ libpulseaudio ]
3434 ++ optionals sdlSupport [ SDL ]
pkgs/applications/virtualization/qemu/no-etc-install.patch+7−4
@@ -1,11 +1,14 @@
1+diff --git a/Makefile b/Makefile
2+index d6b9dc1..ce7c493 100644
13--- a/Makefile
24+++ b/Makefile
3−@@ -418,7 +418,7 @@
5+@@ -384,8 +384,7 @@ install-confdir:
6+ install-sysconfig: install-datadir install-confdir
7+ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)"
48
5−
6− install: all $(if $(BUILD_DOCS),install-doc) \
9+-install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig \
710-install-datadir install-localstatedir
8−+install-datadir
11++install: all $(if $(BUILD_DOCS),install-doc) install-datadir
912 ifneq ($(TOOLS),)
1013 $(call install-prog,$(TOOLS),$(DESTDIR)$(bindir))
1114 endif