Merge pull request #233517 from illustris/pve-fix
nixos/proxmox-image: fix qemu build failure
This commit is contained in:
commit
86b0cdb24b
@ -187,20 +187,20 @@ with lib;
|
|||||||
guestAgentSupport = false;
|
guestAgentSupport = false;
|
||||||
}).overrideAttrs ( super: rec {
|
}).overrideAttrs ( super: rec {
|
||||||
|
|
||||||
version = "7.0.0";
|
version = "7.2.1";
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url= "https://download.qemu.org/qemu-${version}.tar.xz";
|
url= "https://download.qemu.org/qemu-${version}.tar.xz";
|
||||||
sha256 = "sha256-9rN1x5UfcoQCeYsLqrsthkeMpT1Eztvvq74cRr9G+Dk=";
|
sha256 = "sha256-jIVpms+dekOl/immTN1WNwsMLRrQdLr3CYqCTReq1zs=";
|
||||||
};
|
};
|
||||||
patches = [
|
patches = [
|
||||||
# Proxmox' VMA tool is published as a particular patch upon QEMU
|
# Proxmox' VMA tool is published as a particular patch upon QEMU
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
url =
|
url =
|
||||||
let
|
let
|
||||||
rev = "1976ca460796f28447b41e3618e5c1e234035dd5";
|
rev = "abb04bb6272c1202ca9face0827917552b9d06f6";
|
||||||
path = "debian/patches/pve/0026-PVE-Backup-add-vma-backup-format-code.patch";
|
path = "debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch";
|
||||||
in "https://git.proxmox.com/?p=pve-qemu.git;a=blob_plain;hb=${rev};f=${path}";
|
in "https://git.proxmox.com/?p=pve-qemu.git;a=blob_plain;hb=${rev};f=${path}";
|
||||||
hash = "sha256-2Dz+ceTwrcyYYxi76RtyY3v15/2pwGcDhFuoZWlgbjc=";
|
hash = "sha256-3d0HHdvaExCry6zcULnziYnWIAnn24vECkI4sjj2BMg=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Proxmox' VMA tool uses O_DIRECT which fails on tmpfs
|
# Proxmox' VMA tool uses O_DIRECT which fails on tmpfs
|
||||||
@ -220,6 +220,7 @@ with lib;
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = super.buildInputs ++ [ pkgs.libuuid ];
|
buildInputs = super.buildInputs ++ [ pkgs.libuuid ];
|
||||||
|
nativeBuildInputs = super.nativeBuildInputs ++ [ pkgs.perl ];
|
||||||
|
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user