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

This reverts commit df592a6535d1800a99bed83747a5756d3fc149a4. Segfauls on build machines were not caused due to qemu bump.

commitd2fbbb210098f14e51094572a9a51aefaad05b8c authorDomen Kožar <domen@dev.si> dateSat 12 Sep 2015, 12:56 (11 years ago) parent4f97f41
2 files changed+8−11
pkgs/applications/virtualization/qemu/default.nix+4−4 pkgs/applications/virtualization/qemu/no-etc-install.patch+4−7
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
3+, libseccomp, libaio, libcap_ng, gnutls, nettle
44, makeWrapper
55, pulseSupport ? true, libpulseaudio
66, sdlSupport ? true, SDL
@@ -11,7 +11,7 @@
1111
1212with stdenv.lib;
1313let
14− n = "qemu-2.2.1";
14+ n = "qemu-2.4.0";
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 = "181m2ddsg3adw8y5dmimsi8x678imn9f6i5p20zbhi7pdr61a5s6";
25+ sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j";
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
31+ libcap_ng gnutls nettle
3232 ]
3333 ++ optionals pulseSupport [ libpulseaudio ]
3434 ++ optionals sdlSupport [ SDL ]
pkgs/applications/virtualization/qemu/no-etc-install.patch+4−7
@@ -1,14 +1,11 @@
1−diff --git a/Makefile b/Makefile
2−index d6b9dc1..ce7c493 100644
31--- a/Makefile
42+++ b/Makefile
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)"
3+@@ -418,7 +418,7 @@
84
9−-install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig \
5+
6+ install: all $(if $(BUILD_DOCS),install-doc) \
107-install-datadir install-localstatedir
11−+install: all $(if $(BUILD_DOCS),install-doc) install-datadir
8++install-datadir
129 ifneq ($(TOOLS),)
1310 $(call install-prog,$(TOOLS),$(DESTDIR)$(bindir))
1411 endif