Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3e7a2b9147fe
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f52443efaef6
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 20, 2020

  1. 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.
    delroth authored and FRidh committed Apr 20, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    peterromfeldhk Peter Romfeld
    Copy the full SHA
    f52443e View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkgs/development/python-modules/pyopengl/default.nix
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/pyopengl/default.nix
Original file line number Diff line number Diff line change
@@ -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 ''