Merge pull request #233517 from illustris/pve-fix

nixos/proxmox-image: fix qemu build failure

authored by Sandro and committed by GitHub 86b0cdb2 32e61ec5

+6 -5
+6 -5
nixos/modules/virtualisation/proxmox-image.nix
··· 187 187 guestAgentSupport = false; 188 188 }).overrideAttrs ( super: rec { 189 189 190 - version = "7.0.0"; 190 + version = "7.2.1"; 191 191 src = pkgs.fetchurl { 192 192 url= "https://download.qemu.org/qemu-${version}.tar.xz"; 193 - sha256 = "sha256-9rN1x5UfcoQCeYsLqrsthkeMpT1Eztvvq74cRr9G+Dk="; 193 + sha256 = "sha256-jIVpms+dekOl/immTN1WNwsMLRrQdLr3CYqCTReq1zs="; 194 194 }; 195 195 patches = [ 196 196 # Proxmox' VMA tool is published as a particular patch upon QEMU 197 197 (pkgs.fetchpatch { 198 198 url = 199 199 let 200 - rev = "1976ca460796f28447b41e3618e5c1e234035dd5"; 201 - path = "debian/patches/pve/0026-PVE-Backup-add-vma-backup-format-code.patch"; 200 + rev = "abb04bb6272c1202ca9face0827917552b9d06f6"; 201 + path = "debian/patches/pve/0027-PVE-Backup-add-vma-backup-format-code.patch"; 202 202 in "https://git.proxmox.com/?p=pve-qemu.git;a=blob_plain;hb=${rev};f=${path}"; 203 - hash = "sha256-2Dz+ceTwrcyYYxi76RtyY3v15/2pwGcDhFuoZWlgbjc="; 203 + hash = "sha256-3d0HHdvaExCry6zcULnziYnWIAnn24vECkI4sjj2BMg="; 204 204 }) 205 205 206 206 # Proxmox' VMA tool uses O_DIRECT which fails on tmpfs ··· 220 220 ]; 221 221 222 222 buildInputs = super.buildInputs ++ [ pkgs.libuuid ]; 223 + nativeBuildInputs = super.nativeBuildInputs ++ [ pkgs.perl ]; 223 224 224 225 }); 225 226 in