Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.matplotlib: put tests in separate output #19870

Closed
wants to merge 3 commits into from

Conversation

FRidh
Copy link
Member

@FRidh FRidh commented Oct 25, 2016

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@FRidh, thanks for your PR! By analyzing the history of the files in this pull request, we identified @aherrmann, @rycee and @domenkozar to be potential reviewers.

@FRidh FRidh changed the title Python: append postFixup, put matplotlib tests in separate folder Python: append postFixup, put matplotlib tests in separate output Oct 25, 2016
wrapPythonPrograms
'' + lib.optionalString catchConflicts ''
# check if we have two packages with the same name in closure and fail
# this shouldn't happen, something went wrong with dependencies specs
${python.interpreter} ${./catch_conflicts.py}
'';
'' + attrs.postFixup or '''';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "" is more clear than ''''.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, or maybe + optional hasattr "postFixup" attrs

@FRidh
Copy link
Member Author

FRidh commented Oct 25, 2016

@bjornfor 678b917f000a6b6a8affab1c5e69f49de2c5543a is a solution to #9204

@rycee
Copy link
Member

rycee commented Oct 25, 2016

Thanks for spending time on this!

@FRidh FRidh added the 2.status: work-in-progress This PR isn't done label Oct 25, 2016
@FRidh
Copy link
Member Author

FRidh commented Oct 25, 2016

hmm, unfortunately this isn't working yet for matplotlib. The tests (installCheckPhase) is apparently run after fixup. I thought it was between install and fixup.

@FRidh
Copy link
Member Author

FRidh commented Oct 26, 2016

Since 678b917f000a6b6a8affab1c5e69f49de2c5543a was needed elsewhere I pushed it as 85a87f5

@FRidh FRidh changed the title Python: append postFixup, put matplotlib tests in separate output pythonPackages.matplotlib: put tests in separate output Oct 26, 2016
@FRidh FRidh closed this Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants