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

Commits on Aug 5, 2018

  1. python.pkgs.pytest.setupHook: fix cache name, fixes #40273

    The cache is not named `.pytest-cache` but `.pytest_cache`.
    FRidh committed Aug 5, 2018
    Copy the full SHA
    9267b47 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 pkgs/development/python-modules/pytest/default.nix
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pytest/default.nix
Original file line number Diff line number Diff line change
@@ -27,10 +27,10 @@ buildPythonPackage rec {
runHook postCheck
'';

# Remove .pytest-cache when using py.test in a Nix build
# Remove .pytest_cache when using py.test in a Nix build
setupHook = writeText "pytest-hook" ''
postFixupHooks+=(
'find $out -name .pytest-cache -type d -exec rm -rf {} +'
'find $out -name .pytest_cache -type d -exec rm -rf {} +'
)
'';