Skip to content

goverlay: 0.7.1 -> 1.2#368202

Merged
kira-bruneau merged 4 commits into
NixOS:masterfrom
Chais:update-goverlay
Dec 27, 2024
Merged

goverlay: 0.7.1 -> 1.2#368202
kira-bruneau merged 4 commits into
NixOS:masterfrom
Chais:update-goverlay

Conversation

@Chais

@Chais Chais commented Dec 25, 2024

Copy link
Copy Markdown
Contributor

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Dec 25, 2024

@SigmaSquadron SigmaSquadron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Welcome to Nixpkgs! Please review the Contribution Guidelines for more information about how to format your commits. Notably, their titles should follow the packagename: oldversion -> newversion template. Ideally, the removal of find-xdg-data-files and the alphabetical sorting should also be separate commits, following the packagename: change description template.

Comment on lines 1 to 26

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For consistency with other packages, please put lib as the first attribute in the function call, followed by stdenv and fetchFromGitHub.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The sorting I can split out, I'm not sure how useful the removal of find-xdg-data-files is on its own. It was required with 0.7.1 but isn't with 1.2. Unless you're referring of the deletion of find-xdg-data-files.patch, than I can easily separate.

@SigmaSquadron SigmaSquadron added the 2.status: blocked by pr/issue Another PR or issue is preventing this from being completed label Dec 25, 2024
@Chais Chais changed the title Bump GOverlay to 1.2 goverlay: 0.7.1 -> 1.2 Dec 25, 2024
@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes labels Dec 25, 2024
@SigmaSquadron

SigmaSquadron commented Dec 25, 2024 via email

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 26, 2024
@kira-bruneau

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 368202


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • goverlay
  • goverlay.man

@kira-bruneau

kira-bruneau commented Dec 26, 2024

Copy link
Copy Markdown
Contributor

Thanks for the update @Chais!!

Just for reference, I was originally getting a build error:

EThread: Failed to create new thread
  $0000000000444A56
  $0000000000444E71
  $0000000000937974
  $0000000000935AD8
  $000000000052F9BA
  $00000000005AAB8B
  $00000000004056F6
  $00000000004051E3
  $000000000040343F
  $0000000000408CE3
  $000000000040B9C9

This was one of the reasons why I removed myself as maintainer on goverlay, but finally tracked the issue down to a bug in lazarus: https://bugs.gentoo.org/937421.

I just had this option set in my NixOS config:

nix.daemonCPUSchedPolicy = "idle"

Temporarily removing this allows me to build the package again.

@kira-bruneau kira-bruneau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh wait, I missed that CI is failing on formatting right now. Other than that though, this looks good to me!

@kira-bruneau kira-bruneau self-requested a review December 26, 2024 19:50
@Chais

Chais commented Dec 26, 2024

Copy link
Copy Markdown
Contributor Author

Oh wait, I missed that CI is failing on formatting right now. Other than that though, this looks good to me!

@kira-bruneau I saw the formatting check failing but was unsure if it's something that should be remedied, given that nixfmt mostly pulls arrays into fewer lines and most files have one element per line.

@kira-bruneau

Copy link
Copy Markdown
Contributor

@kira-bruneau I saw the formatting check failing but was unsure if it's something that should be remedied, given that nixfmt mostly pulls arrays into fewer lines and most files have one element per line.

Oh yep it should be remedied here. It's not complete yet, but there's been a big push to have everything formatted with nixfmt. There are still some files that haven't been formatted yet, but that's mainly to avoid merge conflicts.

See #322537

@Chais

Chais commented Dec 26, 2024

Copy link
Copy Markdown
Contributor Author

nixfmt check still fails after running it. Would be helpful to know what the check takes offense at.

@kira-bruneau

Copy link
Copy Markdown
Contributor

Oh I just ran it locally and pushed the diff. It looks like the issue was just an extra empty line.

@Chais

Chais commented Dec 26, 2024

Copy link
Copy Markdown
Contributor Author

Oh I just ran it locally and pushed the diff. It looks like the issue was just an extra empty line.

Oh, that's interesting. Yours arranged the arrays in one element per line again. What was it originally complaining about then?

@kira-bruneau

Copy link
Copy Markdown
Contributor

Oh it was just the extra blank line above stdenv.mkDerivation that was left after removing find-xdg-data-files.

@kira-bruneau kira-bruneau merged commit 8f24b0a into NixOS:master Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: blocked by pr/issue Another PR or issue is preventing this from being completed 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package request: Goverlay 0.7.1 -> 1.2

4 participants