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

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
John Titor
2025-03-10 00:41:28 +05:30
parent aa70590e58
commit 81b27347de
2 changed files with 14 additions and 2 deletions
+6 -2
View File
@@ -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
View File
@@ -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 { };