tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
qemu: 8.0.4 -> 8.1.0
Alyssa Ross
2 years ago
8c27922a
21e02a77
+3
-5
1 changed file
expand all
collapse all
unified
split
pkgs
applications
virtualization
qemu
default.nix
+3
-5
pkgs/applications/virtualization/qemu/default.nix
···
47
47
+ lib.optionalString xenSupport "-xen"
48
48
+ lib.optionalString hostCpuOnly "-host-cpu-only"
49
49
+ lib.optionalString nixosTestRunner "-for-vm-tests";
50
50
-
version = "8.0.4";
50
50
+
version = "8.1.0";
51
51
52
52
src = fetchurl {
53
53
url = "https://download.qemu.org/qemu-${finalAttrs.version}.tar.xz";
54
54
-
hash = "sha256-gcgX3aOK+Vi+W+8abPVbZYuy0/uHwealcd5reyxEUWw=";
54
54
+
hash = "sha256-cQwQEZjjNNR2Lu9l9km8Q/qKXddTA1VLis/sPrJfDlU=";
55
55
};
56
56
57
57
depsBuildBuild = [ buildPackages.stdenv.cc ]
···
153
153
"--enable-tools"
154
154
"--localstatedir=/var"
155
155
"--sysconfdir=/etc"
156
156
-
# Always use our Meson, not the bundled version, which doesn't
157
157
-
# have our patches and will be subtly broken because of that.
158
158
-
"--meson=meson"
159
156
"--cross-prefix=${stdenv.cc.targetPrefix}"
160
157
(lib.enableFeature guestAgentSupport "guest-agent")
161
158
] ++ lib.optional numaSupport "--enable-numa"
···
219
216
220
217
# point tests towards correct binaries
221
218
substituteInPlace ../tests/unit/test-qga.c \
219
219
+
--replace '/bin/bash' "$(type -P bash)" \
222
220
--replace '/bin/echo' "$(type -P echo)"
223
221
substituteInPlace ../tests/unit/test-io-channel-command.c \
224
222
--replace '/bin/socat' "$(type -P socat)"