Unverified Commit 81b27347 authored by John Titor's avatar John Titor
Browse files

{ventoy-full-gtk, ventoy-full-qt}: init by overriding ventoy-full

parent aa70590e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -55,7 +55,10 @@ let
    .${stdenv.hostPlatform.system} or (throw "Unsupported platform: ${stdenv.hostPlatform.system}");
in
stdenv.mkDerivation (finalAttrs: {
  pname = "ventoy";
  pname =
    "ventoy"
    + optionalString (defaultGuiType == "gtk3") "-gtk3"
    + optionalString (defaultGuiType == "qt5") "-qt5";
  version = "1.1.05";

  src = fetchurl {
@@ -194,7 +197,8 @@ stdenv.mkDerivation (finalAttrs: {

  meta = {
    homepage = "https://www.ventoy.net";
    description = "New Bootable USB Solution";
    description =
      "New Bootable USB Solution" + optionalString (defaultGuiType != "") " with GUI support";
    longDescription = ''
      Ventoy is an open source tool to create bootable USB drive for
      ISO/WIM/IMG/VHD(x)/EFI files.  With ventoy, you don't need to format the
+8 −0
Original line number Diff line number Diff line
@@ -1105,6 +1105,14 @@ with pkgs;
    withNtfs = true;
  };
  ventoy-full-gtk = ventoy-full.override {
    defaultGuiType = "gtk3";
  };
  ventoy-full-qt = ventoy-full.override {
    defaultGuiType = "qt5";
  };
  vprof = with python3Packages; toPythonApplication vprof;
  vrc-get = callPackage ../tools/misc/vrc-get { };