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

auto-cpufreq: add pyasyncore to propogatedBuildInputs #325571

Closed
wants to merge 1 commit into from

Conversation

sarcasticadmin
Copy link
Member

Description of changes

Fixes: #325514

pyasyncore was missing from propogatedBuildInputs and causing auto-cpufreq to fail a runtime

Confirmation that runtime error is fixed:

$ sudo auto-cpufreq --live

Note: You can quit live mode by pressing "ctrl+c"

----------------------------------- Warning -----------------------------------

Detected running GNOME Power Profiles daemon service!
This daemon might interfere with auto-cpufreq and has been disabled.

This daemon is not automatically disabled in "monitor" mode and
will be enabled after auto-cpufreq is removed.


-------------------------------------------------------------------------------

Linux distro: NixOS 24.05 Uakari
Linux kernel: 6.6.32
Processor: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
Cores: 4
Architecture: x86_64
Driver: intel_cpufreq

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 3000 MHz
CPU min frequency: 500 MHz

Core    Usage   Temperature     Frequency
CPU0      1.0%        38 °C      2895 MHz
CPU1      0.0%        38 °C      2990 MHz
CPU2      1.0%        38 °C      2546 MHz
CPU3      0.0%        38 °C      2395 MHz

---------------------------- CPU frequency scaling ----------------------------

Battery is: charging

Setting to use: "performance" governor
Not setting EPP (not supported by system)

Total CPU usage: 0.5 %
Total system load: 0.08
Average temp. of all cores: 38.00 °C

Load optimal (load average: 0.08, 0.08, 0.08)
setting turbo boost: off

-------------------------------------------------------------------------------

                "auto-cpufreq" is about to refresh .

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

Add a 👍 reaction to pull requests you find important.

@sarcasticadmin
Copy link
Member Author

closing and will open a different PR to address: #325514 (comment)

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.

auto-cpufreq has runtime error.
1 participant