Loading pkgs/by-name/su/sunvox/package.nix +29 −15 Original line number Diff line number Diff line Loading @@ -68,11 +68,14 @@ stdenv.mkDerivation (finalAttrs: { libjack2 ]; desktopItems = lib.optionals stdenv.hostPlatform.isLinux [ (makeDesktopItem { name = "sunvox"; exec = "sunvox"; desktopName = "SunVox"; desktopItems = let sunvoxDesktop = variant: makeDesktopItem { name = "sunvox" + lib.optionalString (variant != null) "-${lib.strings.toLower variant}"; exec = "sunvox" + lib.optionalString (variant != null) "_${lib.strings.toLower variant}"; desktopName = "SunVox" + lib.optionalString (variant != null) " (${variant})"; genericName = "Modular Synthesizer"; comment = "Modular synthesizer with pattern-based sequencer"; icon = "sunvox"; Loading @@ -81,8 +84,19 @@ stdenv.mkDerivation (finalAttrs: { "Audio" "Midi" ]; }) ]; }; in lib.optionals stdenv.hostPlatform.isLinux ( [ (sunvoxDesktop null) ] ++ lib.optionals (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64) [ (sunvoxDesktop "OpenGL") ] ++ lib.optionals (stdenv.hostPlatform.isi686) [ (sunvoxDesktop "LoFi") ] ); dontConfigure = true; dontBuild = true; Loading Loading
pkgs/by-name/su/sunvox/package.nix +29 −15 Original line number Diff line number Diff line Loading @@ -68,11 +68,14 @@ stdenv.mkDerivation (finalAttrs: { libjack2 ]; desktopItems = lib.optionals stdenv.hostPlatform.isLinux [ (makeDesktopItem { name = "sunvox"; exec = "sunvox"; desktopName = "SunVox"; desktopItems = let sunvoxDesktop = variant: makeDesktopItem { name = "sunvox" + lib.optionalString (variant != null) "-${lib.strings.toLower variant}"; exec = "sunvox" + lib.optionalString (variant != null) "_${lib.strings.toLower variant}"; desktopName = "SunVox" + lib.optionalString (variant != null) " (${variant})"; genericName = "Modular Synthesizer"; comment = "Modular synthesizer with pattern-based sequencer"; icon = "sunvox"; Loading @@ -81,8 +84,19 @@ stdenv.mkDerivation (finalAttrs: { "Audio" "Midi" ]; }) ]; }; in lib.optionals stdenv.hostPlatform.isLinux ( [ (sunvoxDesktop null) ] ++ lib.optionals (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64) [ (sunvoxDesktop "OpenGL") ] ++ lib.optionals (stdenv.hostPlatform.isi686) [ (sunvoxDesktop "LoFi") ] ); dontConfigure = true; dontBuild = true; Loading