Skip to content

dprint: use system zstd, enable __structuredAttrs - #571230

Merged
pbsds merged 2 commits into
NixOS:masterfrom
kachick:dprint-use-system-zstd
Oct 8, 2026
Merged

pbsds merged 2 commits into
NixOS:masterfrom
kachick:dprint-use-system-zstd

Conversation

@kachick

@kachick kachick commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

dprint is listed in #570944

zstd-sys is a transitive dependency:

# Before
> nix build .#dprint && (ldd ./result/bin/dprint | grep zstd)

# After
> nix build .#dprint && (ldd ./result/bin/dprint | grep zstd)
        libzstd.so.1 => /nix/store/ph4ib8mxy5yrw40k7a1l03bfd58hq6wj-zstd-1.5.7/lib/libzstd.so.1 (0x000077d8b16dc000)

Things done

@kachick
kachick marked this pull request as ready for review October 7, 2026 09:26
@nixpkgs-ci
nixpkgs-ci Bot requested a review from phanirithvij October 7, 2026 09:27
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Oct 7, 2026
@kachick
kachick force-pushed the dprint-use-system-zstd branch from 40f60d1 to 2744993 Compare October 7, 2026 09:37
@kachick

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 7, 2026
@kachick
kachick force-pushed the dprint-use-system-zstd branch from 2744993 to 6a64e12 Compare October 8, 2026 02:01
@kachick kachick changed the title dprint: use system zstd dprint: use system zstd, enable __structuredAttrs Oct 8, 2026
@kachick

kachick commented Oct 8, 2026

Copy link
Copy Markdown
Member Author

Rebased to include #570789 and added __structuredAttrs

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 571230
Commit: 6a64e1248d55ea8cb4c692adbb61f5c29a67983d


x86_64-linux

✅ 15 packages built:
  • dprint
  • dprint-plugins.dprint-plugin-json
  • dprint-plugins.dprint-plugin-jupyter
  • dprint-plugins.dprint-plugin-mago
  • dprint-plugins.dprint-plugin-markdown
  • dprint-plugins.dprint-plugin-oxc
  • dprint-plugins.dprint-plugin-ruff
  • dprint-plugins.dprint-plugin-toml
  • dprint-plugins.dprint-plugin-typescript
  • dprint-plugins.g-plane-malva
  • dprint-plugins.g-plane-markup_fmt
  • dprint-plugins.g-plane-pretty_graphql
  • dprint-plugins.g-plane-pretty_yaml
  • dprint-plugins.dprint-plugin-biome
  • dprint-plugins.dprint-plugin-dockerfile

aarch64-linux

✅ 15 packages built:
  • dprint
  • dprint-plugins.dprint-plugin-dockerfile
  • dprint-plugins.dprint-plugin-jupyter
  • dprint-plugins.dprint-plugin-mago
  • dprint-plugins.dprint-plugin-markdown
  • dprint-plugins.dprint-plugin-oxc
  • dprint-plugins.dprint-plugin-ruff
  • dprint-plugins.dprint-plugin-toml
  • dprint-plugins.dprint-plugin-typescript
  • dprint-plugins.g-plane-malva
  • dprint-plugins.g-plane-markup_fmt
  • dprint-plugins.g-plane-pretty_graphql
  • dprint-plugins.g-plane-pretty_yaml
  • dprint-plugins.dprint-plugin-biome
  • dprint-plugins.dprint-plugin-json

aarch64-darwin

✅ 15 packages built:
  • dprint
  • dprint-plugins.dprint-plugin-biome
  • dprint-plugins.dprint-plugin-dockerfile
  • dprint-plugins.dprint-plugin-json
  • dprint-plugins.dprint-plugin-jupyter
  • dprint-plugins.dprint-plugin-mago
  • dprint-plugins.dprint-plugin-markdown
  • dprint-plugins.dprint-plugin-oxc
  • dprint-plugins.dprint-plugin-ruff
  • dprint-plugins.dprint-plugin-toml
  • dprint-plugins.dprint-plugin-typescript
  • dprint-plugins.g-plane-malva
  • dprint-plugins.g-plane-markup_fmt
  • dprint-plugins.g-plane-pretty_graphql
  • dprint-plugins.g-plane-pretty_yaml

@pbsds
pbsds added this pull request to the merge queue Oct 8, 2026
Merged via the queue into NixOS:master with commit 891d1af Oct 8, 2026
31 of 34 checks passed
@kachick

kachick commented Oct 8, 2026

Copy link
Copy Markdown
Member Author

Thank you both!

@kachick
kachick deleted the dprint-use-system-zstd branch October 8, 2026 15:58
@kachick kachick added the backport release-26.05 Backport PR automatically label Oct 22, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 22, 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-571230-to-release-26.05 origin/release-26.05
cd .worktree/backport-571230-to-release-26.05
git switch --create backport-571230-to-release-26.05
git cherry-pick -x da1fb1a325b2b01fb91cc8ef6f89251dd9c85ad8 6a64e1248d55ea8cb4c692adbb61f5c29a67983d

@nixpkgs-ci

nixpkgs-ci Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants