about summary refs log tree commit diff
path: root/pkgs/applications/misc/blender
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2023-05-22 17:06:34 -0400
committerGitHub <noreply@github.com>2023-05-22 17:06:34 -0400
commitf5911e4068eb669d9ed0aaed5f2db49498792192 (patch)
tree9ff8eac2601ccd2ae7cba1c90ff643b94793bf08 /pkgs/applications/misc/blender
parent03cf03621dfb5e4b6d23f3b0b15babfaa11966b4 (diff)
blender: Add Python to passthru for use in addon drvs (#230884)
Blender addons that have native extensions need to be built against the
same Python that Blender was built with. This makes it easier to write
such addon derivations.
Diffstat (limited to 'pkgs/applications/misc/blender')
-rw-r--r--pkgs/applications/misc/blender/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index 28e0ac94b3479..cc1252899b515 100644
--- a/pkgs/applications/misc/blender/default.nix
+++ b/pkgs/applications/misc/blender/default.nix
@@ -183,6 +183,8 @@ stdenv.mkDerivation rec {
     done
   '';
 
+  passthru = { inherit python; };
+
   meta = with lib; {
     description = "3D Creation/Animation/Publishing System";
     homepage = "https://www.blender.org";