Skip to content

nvi: fix build, use debian patches, and enable widechar support - #442968

Merged
Aleksanaa merged 1 commit into
NixOS:masterfrom
ddz:nvi-debian-patches
Nov 16, 2025
Merged

Aleksanaa merged 1 commit into
NixOS:masterfrom
ddz:nvi-debian-patches

Conversation

@ddz

@ddz ddz commented Sep 14, 2025 •

Copy link
Copy Markdown
Contributor

Migrate to using patches from Debian package and enable widechar support.

Fixes #382978.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 14, 2025
ddz added a commit to ddz/nix that referenced this pull request Sep 14, 2025
@ddz ddz mentioned this pull request Sep 15, 2025
3 tasks done
ddz added a commit to ddz/nix that referenced this pull request Sep 15, 2025
@@ -0,0 +1,170 @@
# Generated by debian-patches.sh from debian-patches.txt

@qweered qweered Sep 15, 2025 •

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.

Where is this script?

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.

@qweered

qweered commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 442968
Commit: 2ea76cc622d1fe6e879abafb2bf7fb738341a836 (subsequent changes)
Merge: 19845cd341506579da2b126a83c93ed917a9e380

Logs: https://github.com/qweered/nixpkgs-review-gha/actions/runs/17721609733


x86_64-linux

✅ 1 package built:
  • nvi

aarch64-linux

✅ 1 package built:
  • nvi

@qweered qweered 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.

Approved automatically following the successful run of nixpkgs-review.

ddz added a commit to ddz/nix that referenced this pull request Sep 15, 2025
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 15, 2025
ddz added a commit to ddz/nix that referenced this pull request Sep 15, 2025
@ddz ddz changed the title nvi: use debian patches and fix build nvi: fix build, use debian patches, and enable widechar support Sep 15, 2025
@ddz

ddz commented Sep 15, 2025

Copy link
Copy Markdown
Contributor Author

Pushed a 2nd commit for a slight modification to enable widechar support instead of including a local patch to fix a remaining build error.

@iedame

iedame commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 442968
Commit: 8c2a03176ab26e2894a4925b250ba1aaa53b8aa9 (subsequent changes)
Merge: 1bcfeb293e9e8cde9280416313505ebec3489d63

Logs: https://github.com/iedame/nixpkgs-review-gha/actions/runs/19199668201


x86_64-linux

✅ 1 package built:
  • nvi

aarch64-linux

✅ 1 package built:
  • nvi

x86_64-darwin

✅ No rebuilds


aarch64-darwin

✅ No rebuilds

@ddz

ddz commented Nov 11, 2025

Copy link
Copy Markdown
Contributor Author

Hello @iedame, are you able to approve this small PR that fixes the currently broken nvi? It already has one approval.

@Luflosi Luflosi 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.

LGTM.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 12, 2025

@thiagokokada thiagokokada 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.

FYI, there are multiple different nvi PRs right now:

  • #410629 (focus in fixing darwin)
  • #461954 (this one uses unstable, but has the advantage of not needing as many patches)

Let's coordinate to get one of those merged. CC @Aleksanaa @suominen.

@Aleksanaa

Copy link
Copy Markdown
Member

Let's merge this first, then I'll figure out darwin build on top of this

@Aleksanaa

Copy link
Copy Markdown
Member

I'll squash commit

Migrate to using patches from Debian package and add one local
patch to fix remaining build error.

Enable widechar support instead of patch fixing build error
@Aleksanaa

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 442968
Commit: 0d340f58ae05cb87c5996d9449d43d51748ff25b (subsequent changes)
Merge: 822c18c84946489b39971e2da43e4d0350e65e47

Logs: https://github.com/Aleksanaa/nixpkgs-review-gha/actions/runs/19404638294


x86_64-linux

✅ 1 package built:
  • nvi

aarch64-linux

✅ 1 package built:
  • nvi

@Aleksanaa
Aleksanaa added this pull request to the merge queue Nov 16, 2025
Merged via the queue into NixOS:master with commit c543a59 Nov 16, 2025
@Aleksanaa Aleksanaa mentioned this pull request Nov 16, 2025
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: nvi

6 participants