wrapper-manager/programs/blender: update examples

This commit is contained in:
Gabriel Arazas 2024-08-25 19:10:39 +08:00
parent 5b22d81592
commit 507cc0a693
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -26,7 +26,7 @@ in
enable = lib.mkEnableOption "Blender, a 3D computer graphics tool"; enable = lib.mkEnableOption "Blender, a 3D computer graphics tool";
package = lib.mkPackageOption pkgs "blender" { package = lib.mkPackageOption pkgs "blender" {
example = '' example = lib.literalExpression ''
pkgs.blender-with-packages { pkgs.blender-with-packages {
name = "sample-studio-wrapped"; name = "sample-studio-wrapped";
packages = with pkgs.python3Packages; [ pandas ]; packages = with pkgs.python3Packages; [ pandas ];
@ -55,7 +55,6 @@ in
{ {
basePackages = [ cfg.package ]; basePackages = [ cfg.package ];
# TODO: Should we replace the .desktop file for this?
wrappers.blender = { wrappers.blender = {
arg0 = lib.getExe' cfg.package "blender"; arg0 = lib.getExe' cfg.package "blender";
}; };