Skip to content

cargo-leptos: enable __structuredAttrs - #571136

Open
rntpts wants to merge 1 commit into
NixOS:masterfrom
rntpts:lg2-cargo-leptos
Open

rntpts wants to merge 1 commit into
NixOS:masterfrom
rntpts:lg2-cargo-leptos

Conversation

@rntpts

@rntpts rntpts commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from benwis October 7, 2026 01:37
@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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! labels Oct 7, 2026
@rntpts

rntpts commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 571136
Commit: d36e77ca9c40859cf0d44829f74f1f43c82b25ac


x86_64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

@rntpts rntpts closed this Oct 7, 2026
@rntpts rntpts reopened this Oct 7, 2026
@nixpkgs-ci nixpkgs-ci Bot removed the 12.first-time contribution This PR is the author's first one; please be gentle! label Oct 7, 2026
@SuperSandroBot

Copy link
Copy Markdown

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (a0a3a8d)

Command: nixpkgs-review pr 571136
Commit: d36e77ca9c40859cf0d44829f74f1f43c82b25ac (subsequent changes)
Merge: a72c6c7a446cdaa910636b6a049490aa3a06e401

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/37620262760/attempts/1


x86_64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • idmail
✅ 1 package built:
  • cargo-leptos

@rntpts

rntpts commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

I'm confused. The darwin failure does not look related. It fails with a permission error for openssl:

  idmail>     Tailwind failed
  idmail> OpenSSL configuration error:
  idmail> 8342905216:error:02001001:system library:fopen:Operation not permitted:../deps/openssl/openssl/crypto/bio/bss_file.c:69:fopen('/System/Library/OpenSSL//openssl.cnf','rb')
  idmail> 8342905216:error:2006D002:BIO routines:BIO_new_file:system lib:../deps/openssl/openssl/crypto/bio/bss_file.c:78:
  idmail> 8342905216:error:0E078002:configuration file routines:def_load:system lib:../deps/openssl/openssl/crypto/conf/conf_def.c:170:

(that's the only error I see anyway)

Hydra built it fine recently though. Maybe the actions runner setup?

@rntpts rntpts changed the title cargo-leptos: don't use vendored libgit2 cargo-leptos: un-vendor aws-lc, libgit2 and libz, enable __structuredAttrs Oct 8, 2026
@rntpts
rntpts marked this pull request as draft October 8, 2026 03:33
@nixpkgs-review-gha

Copy link
Copy Markdown

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (8d5c5bd)

Command: nixpkgs-review pr 571136
Commit: 06033c8de156d016f4c0a947f3bbbbf09102571d (subsequent changes)
Merge: 17042abc251eae1466562bafdfc3d3f5b58dab3b

Triggered by @rntpts (325411005)
Logs: https://github.com/rntpts/nixpkgs-review-gha/actions/runs/37724920983/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/2yljmw6s9913cwjd87qq3ikqfsyb5rfw-cargo-leptos-0.3.10 \
      /nix/store/zpg6mi5z27n3ixrnvmi9ammncq0h4l98-idmail-1.0.2
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/qxjsk6zvf3b5nmz0n5hajhi26zckww39-idmail-1.0.2 \
      /nix/store/z0psw45pc7b01f178mj2zmidi6v3mp45-cargo-leptos-0.3.10
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/z1s9hsc02y2mqbgf02mdqsi48847jgp7-cargo-leptos-0.3.10

x86_64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • idmail
✅ 1 package built:
  • cargo-leptos

@rntpts rntpts changed the title cargo-leptos: un-vendor aws-lc, libgit2 and libz, enable __structuredAttrs cargo-leptos: enable __structuredAttrs Nov 11, 2026
@rntpts

rntpts commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

The darwin failure is sandbox related, building with sandbox off works and hydra apparently builds without one for darwin. However, the dependency changes are seemingly unnecessary, it builds fine with forced deps (rebased) but without adding any additional libraries.

This now just keeps the structuredAttrs part as the usual prep for enabling it by default. I also removed the unnecessary OPENSSL_NO_VENDOR that's set by default now.

@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (8e518bc)

Command: nixpkgs-review pr 571136
Commit: 346e2ecf18939d2856705adafa77c807cdd96fa5 (subsequent changes)
Merge: 674333917f40d7ed926698951e5e8d316b6da414

Triggered by @rntpts (325411005)
Logs: https://github.com/rntpts/nixpkgs-review-gha/actions/runs/43030528161/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/6yjlbv0fxriycqxsyiqpxh89iyj0ch33-cargo-leptos-0.3.11 \
      /nix/store/b6pxgg1q16jzqyfqx4vlr5wv5gaw4jd7-idmail-1.0.2
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/1hwv7hk78p5vvdpcb6m56pf5lxqdvv0p-idmail-1.0.2 \
      /nix/store/0j42wcd59pgkv814h1r7ip3plzybavaw-cargo-leptos-0.3.11
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://attic.rntpts.de/nrgha' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nrgha:LpzKqNGIDoo2FcVxLOoXWAoDB6LN1lZlQPQ/RoAWDG8=
      ' \
      /nix/store/vq49q4k2ap0rbhmvqm2nwbxsdzkinlrc-cargo-leptos-0.3.11 \
      /nix/store/2zgiq128y0m6yml6f44szmwdh8gj32jq-idmail-1.0.2

x86_64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-linux

✅ 2 packages built:
  • cargo-leptos
  • idmail

aarch64-darwin (sandbox = false)

✅ 2 packages built:
  • cargo-leptos
  • idmail

@rntpts
rntpts marked this pull request as ready for review November 11, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants