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

btop: init at 1.0.5 #139018

Merged
merged 1 commit into from
Sep 23, 2021
Merged

btop: init at 1.0.5 #139018

merged 1 commit into from
Sep 23, 2021

Conversation

rmcgibbo
Copy link
Contributor

Motivation for this change

Snazzy resource viewer: https://github.com/aristocratos/btop/blob/main/Img/normal.png

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 via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution 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 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Sep 22, 2021
@r-rmcgibbo
Copy link

r-rmcgibbo commented Sep 22, 2021

Result of nixpkgs-review pr 139018 at 703ab9f1 run on x86_64-linux 1

1 package built successfully:
  • btop
1 suggestion:
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/tools/system/btop/default.nix:17:3:

       |
    17 |   installPhase = ''
       |   ^
    

Result of nixpkgs-review pr 139018 at 703ab9f1 run on aarch64-linux 1

1 package failed to build:
1 suggestion:
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/tools/system/btop/default.nix:17:3:

       |
    17 |   installPhase = ''
       |   ^
    

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

@figsoda
Copy link
Member

figsoda commented Sep 22, 2021

looks like this line is causing aarch64-linux build to fail
https://github.com/aristocratos/btop/blob/v1.0.5/Makefile#L82

@rmcgibbo
Copy link
Contributor Author

rmcgibbo commented Sep 22, 2021

Interesting. I didn't realize the default version of gcc is different on aarch64-linux.

I switched the package to use gcc11Stdenv.

pkgs/tools/system/btop/default.nix Outdated Show resolved Hide resolved
pkgs/tools/system/btop/default.nix Outdated Show resolved Hide resolved
@figsoda
Copy link
Member

figsoda commented Sep 23, 2021

Result of nixpkgs-review pr 139018 run on x86_64-linux 1

1 package built:
  • btop

@figsoda figsoda merged commit d7556d1 into NixOS:master Sep 23, 2021
@rmcgibbo rmcgibbo deleted the btop branch September 23, 2021 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants