mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/proxmox-image: fix broken build, reduce build time
This commit is contained in:
parent
52cbdf3310
commit
e7ec55a72d
1 changed files with 21 additions and 1 deletions
|
@ -127,8 +127,28 @@ with lib;
|
||||||
name = "proxmox-${cfg.filenameSuffix}";
|
name = "proxmox-${cfg.filenameSuffix}";
|
||||||
postVM = let
|
postVM = let
|
||||||
# Build qemu with PVE's patch that adds support for the VMA format
|
# Build qemu with PVE's patch that adds support for the VMA format
|
||||||
vma = pkgs.qemu_kvm.overrideAttrs ( super: rec {
|
vma = (pkgs.qemu_kvm.override {
|
||||||
|
alsaSupport = false;
|
||||||
|
pulseSupport = false;
|
||||||
|
sdlSupport = false;
|
||||||
|
jackSupport = false;
|
||||||
|
gtkSupport = false;
|
||||||
|
vncSupport = false;
|
||||||
|
smartcardSupport = false;
|
||||||
|
spiceSupport = false;
|
||||||
|
ncursesSupport = false;
|
||||||
|
libiscsiSupport = false;
|
||||||
|
tpmSupport = false;
|
||||||
|
numaSupport = false;
|
||||||
|
seccompSupport = false;
|
||||||
|
guestAgentSupport = false;
|
||||||
|
}).overrideAttrs ( super: rec {
|
||||||
|
|
||||||
|
version = "7.0.0";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url= "https://download.qemu.org/qemu-${version}.tar.xz";
|
||||||
|
sha256 = "sha256-9rN1x5UfcoQCeYsLqrsthkeMpT1Eztvvq74cRr9G+Dk=";
|
||||||
|
};
|
||||||
patches = [
|
patches = [
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
url =
|
url =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue