Merge pull request #244346 from adamcstephens/ovmf/4mb

authored by

Ryan Lahfa and committed by
GitHub
56fc2481 07c3d83a

+6 -2
+6 -2
pkgs/applications/virtualization/OVMF/default.nix
··· 1 1 { stdenv, nixosTests, lib, edk2, util-linux, nasm, acpica-tools, llvmPackages 2 2 , csmSupport ? false, seabios ? null 3 + , fdSize2MB ? csmSupport 4 + , fdSize4MB ? false 3 5 , secureBoot ? false 4 6 , httpSupport ? false 5 7 , tpmSupport ? false ··· 49 51 ++ lib.optionals debug [ "-D DEBUG_ON_SERIAL_PORT=TRUE" ] 50 52 ++ lib.optionals sourceDebug [ "-D SOURCE_DEBUG_ENABLE=TRUE" ] 51 53 ++ lib.optionals secureBoot [ "-D SECURE_BOOT_ENABLE=TRUE" ] 52 - ++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ] 54 + ++ lib.optionals csmSupport [ "-D CSM_ENABLE" ] 55 + ++ lib.optionals fdSize2MB ["-D FD_SIZE_2MB"] 56 + ++ lib.optionals fdSize4MB ["-D FD_SIZE_4MB"] 53 57 ++ lib.optionals httpSupport [ "-D NETWORK_HTTP_ENABLE=TRUE" "-D NETWORK_HTTP_BOOT_ENABLE=TRUE" ] 54 58 ++ lib.optionals tlsSupport [ "-D NETWORK_TLS_ENABLE=TRUE" ] 55 59 ++ lib.optionals tpmSupport [ "-D TPM_ENABLE" "-D TPM2_ENABLE" "-D TPM2_CONFIG_ENABLE"]; ··· 100 104 homepage = "https://github.com/tianocore/tianocore.github.io/wiki/OVMF"; 101 105 license = lib.licenses.bsd2; 102 106 inherit (edk2.meta) platforms; 103 - maintainers = [ lib.maintainers.raitobezarius ]; 107 + maintainers = with lib.maintainers; [ adamcstephens raitobezarius ]; 104 108 }; 105 109 })