Skip to content

spoof-mac: add pythonImportsCheck#145665

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
siraben:spoof-mac-pythonImportsCheck
Nov 13, 2021
Merged

spoof-mac: add pythonImportsCheck#145665
Mic92 merged 1 commit intoNixOS:masterfrom
siraben:spoof-mac-pythonImportsCheck

Conversation

@siraben
Copy link
Member

@siraben siraben commented Nov 12, 2021

Motivation for this change

Address @SuperSandro2000's comment in #137071. Thanks!

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 12, 2021
Comment on lines 16 to 17
Copy link
Contributor

Choose a reason for hiding this comment

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

You can keep this line, it doesn't influence pythonImportsCheck and AFAIK it is faster since it doesn't run a checkPhase: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#using-pythonimportscheck-using-pythonimportscheck

@siraben siraben force-pushed the spoof-mac-pythonImportsCheck branch from bd83bd0 to 0d6fceb Compare November 13, 2021 04:41
@Mic92 Mic92 merged commit cd90583 into NixOS:master Nov 13, 2021
@siraben siraben deleted the spoof-mac-pythonImportsCheck branch December 25, 2021 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants