Skip to content

hplip: 3.26.4 -> 3.26.6, fix build - #575319

Merged
pbsds merged 1 commit into
NixOS:masterfrom
Holiu618:fixbuild-hplip
Oct 17, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
Holiu618:fixbuild-hplip

Conversation

@Holiu618

@Holiu618 Holiu618 commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

hplip: 3.26.4 -> 3.26.6, fix build
distutils was removed in PEP 632
replaced Debian patch with new local patch to remove close source binary.

Resolves #575306

Things done

@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. labels Oct 17, 2026
@Holiu618
Holiu618 force-pushed the fixbuild-hplip branch 2 times, most recently from 2ae18f5 to f71c7e3 Compare October 17, 2026 16:40
@Holiu618

Copy link
Copy Markdown
Contributor Author

@Holiu618
Holiu618 marked this pull request as ready for review October 17, 2026 16:48
@nixpkgs-ci nixpkgs-ci Bot added 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! labels Oct 17, 2026
@Holiu618
Holiu618 marked this pull request as draft October 17, 2026 16:56
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Oct 17, 2026
@Holiu618 Holiu618 changed the title hplip: fix build hplip: 3.26.4 -> 3.26.6, fix build Oct 17, 2026
@Holiu618
Holiu618 force-pushed the fixbuild-hplip branch 2 times, most recently from d2db7d7 to 08d96c3 Compare October 17, 2026 17:50
@Holiu618

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 575319
Commit: 950cb897dddf4ed47cb7fefc6858f3bf5e458f5b


x86_64-linux

✅ 2 packages built:
  • hplip
  • hplipWithPlugin

@Holiu618

Copy link
Copy Markdown
Contributor Author

✅ nixpkgs-review result for #575319

Generated using nixpkgs-review-gha (bdd2f00)

Command: nixpkgs-review pr 575319
Commit: 950cb897dddf4ed47cb7fefc6858f3bf5e458f5b (subsequent changes)
Merge: cf169119036e9075f590847003721578f6c37e8d

Logs: https://github.com/Holiu618/nixpkgs-review-gha/actions/runs/39049266498/attempts/7


x86_64-linux

✅ 2 packages built:
  • hplip
  • hplipWithPlugin

aarch64-linux

✅ 2 packages built:
  • hplip
  • hplipWithPlugin

@Holiu618
Holiu618 marked this pull request as ready for review October 17, 2026 18:09
@nixpkgs-ci nixpkgs-ci Bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Oct 17, 2026
@pbsds
pbsds added this pull request to the merge queue Oct 17, 2026
Merged via the queue into NixOS:master with commit 50e8588 Oct 17, 2026
28 checks passed
Amphiboly added a commit to Amphiboly/datum-dotfiles that referenced this pull request Oct 20, 2026
Adds the hplipWithPlugin workaround from 64b527e to KNOWN-ISSUES.md
under "Waiting on upstream", with its removal condition. The upstream
fix is NixOS/nixpkgs#575319 (hplip 3.26.6, merged to master
2026-10-17), which splices makeWrapperArgs in with lib.escapeShellArgs.
As of 2026-10-20 it is in nixpkgs-unstable but not yet in
nixos-unstable, which datum follows.

The comment in printing.nix now names that PR instead of a generic
"once nixpkgs fixes the preFixup".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
hyperlapse122 added a commit to hyperlapse122/nix-config that referenced this pull request Oct 20, 2026
hplip 3.26.4 in nixpkgs expands makeWrapperArgs unquoted, which yields
only the array's first element under structured attrs, so makeWrapper
reads the remaining arguments shifted and the build fails. Quote the
array expansion until nixpkgs reaches hplip 3.26.6
(NixOS/nixpkgs#575319); a warning says when to drop the override.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
attilaolah added a commit to attilaolah/dotfiles that referenced this pull request Oct 20, 2026
attilaolah added a commit to attilaolah/dotfiles that referenced this pull request Oct 20, 2026
basnijholt added a commit to basnijholt/dotfiles that referenced this pull request Oct 20, 2026
- hp: hplip now builds with __structuredAttrs, so its bare
  $makeWrapperArgs expands to only "--prefix" and makeCWrapper rejects
  the shifted arguments. Quote the array (fixed upstream in
  NixOS/nixpkgs#575319, not yet in nixos-unstable).
- hetzner-matrix: lk-jwt-service 0.9.0 refuses to start without
  LIVEKIT_FULL_ACCESS_HOMESERVERS and was crash-looping. Allow
  mindroom.chat, the only homeserver advertising this RTC focus.
- mindroom, mindroom-spouse: permit openclaw-2026.10.3 (same generic
  prompt-injection warning as the previously permitted version).
- fwupd-refresh: a switch that changes fwupd can start it against the
  other version's daemon ("Unsupported daemon version 2.1.6, client
  version is 2.1.8"), which failed nuc's deploy. Retry once after 30s.
- comin-watchdog: right after boot comin has not fetched yet and
  exports no fetch_count; give it 15 minutes after comin starts instead
  of failing.

Changing every host's out path also unsticks nuc and nix-cache, where
comin skipped 7769b16 because the identical out path had already been
deployed before the lock was held back and re-applied.
Amphiboly added a commit to Amphiboly/datum-dotfiles that referenced this pull request Oct 20, 2026
nixos-unstable moved 09063bd -> 02c087f (also disko and noctalia). The
new nixpkgs carries NixOS/nixpkgs#575319 (hplip 3.26.4 -> 3.26.6), which
splices hplip's makeWrapperArgs in with lib.escapeShellArgs, so the
build no longer breaks under buildPythonApplication's
__structuredAttrs = true default.

Drop the `__structuredAttrs = false` override on hplipWithPlugin and its
KNOWN-ISSUES.md entry. The unmodified package was built against this
lock to confirm.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
attilaolah added a commit to attilaolah/dotfiles that referenced this pull request Oct 21, 2026
* chore(deps): update flake

* chore(deps): update flake

* feat: install some formatters to the env

* fix(llama-cpp): disable tests that are timing out consistently

* chore(deps): update flake, disable failing llama-cpp tests

* fix: backport patchelf fix

Backport //github.com/NixOS/nixpkgs/pull/575979 to fix CUDA builds.

* chore: update NixOS/nixpkgs#574836 patch

PR is now merged so the URL will remain stable.

* chore: add missing PR comment

* fix: hplip build failure

Backport NixOS/nixpkgs#575319.

* chore(deps): update flake

* chore(deps): update flake, remove applied patches
@Holiu618
Holiu618 deleted the fixbuild-hplip branch October 29, 2026 12:43
@24apricots

Copy link
Copy Markdown

this fixes CVE-2026-58966, might want to backport

@dotlambda dotlambda added 1.severity: security Issues which raise a security issue, or PRs that fix one backport release-26.05 Backport PR automatically labels Nov 14, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Backport failed for release-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-26.05
git worktree add -d .worktree/backport-575319-to-release-26.05 origin/release-26.05
cd .worktree/backport-575319-to-release-26.05
git switch --create backport-575319-to-release-26.05
git cherry-pick -x 950cb897dddf4ed47cb7fefc6858f3bf5e458f5b

vBrunhild added a commit to vBrunhild/dotfiles that referenced this pull request Dec 2, 2026
- build hplip from the nixpkgs commit with NixOS/nixpkgs#575319 until it reaches the channel
- give path-server's tests a writable HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 8.has: failed backport 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 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. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: hplip

4 participants