qemu: qemu-2.4.0-x86-only -> qemu-x86-only-2.4.0

This commit is contained in:
Vladimír Čunát 2015-09-17 12:44:17 +02:00
parent 03730319bd
commit ab295420c5
1 changed files with 3 additions and 3 deletions

View File

@ -11,17 +11,17 @@
with stdenv.lib; with stdenv.lib;
let let
n = "qemu-2.4.0"; version = "2.4.0";
audio = optionalString (hasSuffix "linux" stdenv.system) "alsa," audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
+ optionalString pulseSupport "pa," + optionalString pulseSupport "pa,"
+ optionalString sdlSupport "sdl,"; + optionalString sdlSupport "sdl,";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = n + (if x86Only then "-x86-only" else ""); name = "qemu-" + stdenv.lib.optionalString x86Only "x86-only-" + version;
src = fetchurl { src = fetchurl {
url = "http://wiki.qemu.org/download/${n}.tar.bz2"; url = "http://wiki.qemu.org/download/qemu-${version}.tar.bz2";
sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j"; sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j";
}; };