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: 0a12b8a5e9f3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0a4575a1da49
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 26, 2020

  1. python/hooks/pythonNamespaces: fix __pycache__ being empty, or not ex…

    …isting
    Jonathan Ringer committed Nov 26, 2020
    Copy the full SHA
    0a4575a View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 pkgs/development/interpreters/python/hooks/python-namespaces-hook.sh
Original file line number Diff line number Diff line change
@@ -26,7 +26,9 @@ pythonNamespacesHook() {

# remove __pycache__/ entry, can be interpreter specific. E.g. __init__.cpython-38.pyc
# use null characters to perserve potential whitespace in filepath
@findutils@/bin/find $pycachePath -name '__init__*' -print0 | xargs -0 rm -v
if [ -d "$pycachePath" ]; then
@findutils@/bin/find "$pycachePath" -name '__init__*' -exec rm -v "{}" +
fi
done
done