diff options
author | xeji <xeji@cat3.de> | 2018-04-29 00:58:17 +0200 |
---|---|---|
committer | xeji <xeji@cat3.de> | 2018-04-29 00:58:50 +0200 |
commit | 3c4efe448d96693cd370b3994c0b9087970e1e83 (patch) | |
tree | eadb623b51dd5f393bd359b7d1550cb83b55de66 /pkgs | |
parent | f5268994be469e66d0967d5a45eccb5e0976f690 (diff) | |
download | nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar.gz nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar.bz2 nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar.lz nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar.xz nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.tar.zst nixpkgs-3c4efe448d96693cd370b3994c0b9087970e1e83.zip |
xen_4_10: fix build (qemu-xen memfd patch)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/virtualization/xen/4.10.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/xen/4.10.nix b/pkgs/applications/virtualization/xen/4.10.nix index c3280cbda94..dab90a1ed78 100644 --- a/pkgs/applications/virtualization/xen/4.10.nix +++ b/pkgs/applications/virtualization/xen/4.10.nix @@ -29,6 +29,12 @@ let xsa = import ./xsa-patches.nix { inherit fetchpatch; }; + qemuMemfdBuildFix = fetchpatch { + name = "xen-4.8-memfd-build-fix.patch"; + url = https://github.com/qemu/qemu/commit/75e5b70e6b5dcc4f2219992d7cffa462aa406af0.patch; + sha256 = "0gaz93kb33qc0jx6iphvny0yrd17i8zhcl3a9ky5ylc2idz0wiwa"; + }; + qemuDeps = [ udev pciutils xorg.libX11 SDL pixman acl glusterfs spice-protocol usbredir alsaLib glib python2 @@ -53,6 +59,9 @@ callPackage (import ./generic.nix (rec { rev = "b79708a8ed1b3d18bee67baeaf33b3fa529493e2"; sha256 = "1yxxad6nvlfmrbgyc8ix19qmrsn1rx4zpyiqnfi4x4kg94acwa5w"; }; + patches = [ + qemuMemfdBuildFix + ]; buildInputs = qemuDeps; postPatch = '' # needed in build but /usr/bin/env is not available in sandbox |