pythonPackages.pyopengl: avoid dragging in 500M of -dev packages

Only the actual shared libraries are required to be installed, and they
are imported directly by path via ctypes. The package's patchPhase
already takes care of embedding the Nix store paths of the required
libraries into pyopengl.

This reduces the transitive closure size of PyOpenGL: 622M -> 136M.
wip/yesman
Pierre Bourdon 4 years ago committed by Frederik Rietdijk
parent 3e7a2b9147
commit f52443efae
  1. 2
      pkgs/development/python-modules/pyopengl/default.nix

@ -15,7 +15,7 @@ buildPythonPackage rec {
sha256 = "0bdf5ed600df30c8830455702338902528717c0af85ac5914f1dc5aa0bfa6eee";
};
propagatedBuildInputs = [ pkgs.libGLU pkgs.libGL pkgs.freeglut pillow ];
propagatedBuildInputs = [ pillow ];
patchPhase = let
ext = stdenv.hostPlatform.extensions.sharedLibrary; in ''

Loading…
Cancel
Save