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
base: 02afb228e2ad
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: ec7f56921109
Choose a head ref
  • 2 commits
  • 6 files changed
  • 1 contributor

Commits on Jul 13, 2019

  1. Python: add sitecustomize.py, listen to NIX_PYTHONPATH

    This commit adds a Nix-specific module that recursively adds paths that
    are on `NIX_PYTHONPATH` to `sys.path`. In order to process possible
    `.pth` files `site.addsitedir` is used.
    
    The paths listed in `PYTHONPATH` are added to `sys.path` afterwards, but
    they will be added before the entries we add here and thus take
    precedence.
    
    The reason for adding support for this environment variable is that we
    can set it in a wrapper without breaking support for `PYTHONPATH`.
    FRidh committed Jul 13, 2019
    Copy the full SHA
    46409b5 View commit details
    Browse the repository at this point in the history
  2. 9
    Copy the full SHA
    ec7f569 View commit details
    Browse the repository at this point in the history