diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 3a6cdb6f8c60..dcf5b4e50097 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -7,11 +7,13 @@ , x86Only ? false }: +let n = "qemu-1.5.2"; in + stdenv.mkDerivation rec { - name = "qemu-1.5.2"; + name = n + (if x86Only then "-x86-only" else ""); src = fetchurl { - url = "http://wiki.qemu.org/download/${name}.tar.bz2"; + url = "http://wiki.qemu.org/download/${n}.tar.bz2"; sha256 = "0l52jwlxmwp9g3jpq0g7ix9dq4qgh46nd2h58lh47f0a35yi8qgn"; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8c6eae1919e0..d2b472dce831 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6717,7 +6717,7 @@ let "procps-ng" = callPackage ../os-specific/linux/procps-ng { }; - qemu_kvm = qemu.override { x86Only = true; }; + qemu_kvm = lowPrio (qemu.override { x86Only = true; }); firmwareLinuxNonfree = callPackage ../os-specific/linux/firmware/firmware-linux-nonfree { };