Skip to content

Refactor install script for better temp handling#35

Open
perturbing wants to merge 2 commits into
mainfrom
perturbing-patch-4
Open

Refactor install script for better temp handling#35
perturbing wants to merge 2 commits into
mainfrom
perturbing-patch-4

Conversation

@perturbing

@perturbing perturbing commented Jun 1, 2026

Copy link
Copy Markdown
Member

This PR hardens the usage of the temp file in the Darwin install scripts.

Additionally, it disables the Darwin and Windows CI as Hydra CI crashes on it (for some reason the build plan fails). A solution is clearing the cache on Hydra for the failing build (to force evaluation), but this is cumbersome to do again and again.

@perturbing perturbing requested a review from disassembler as a code owner June 1, 2026 14:12
@perturbing perturbing force-pushed the perturbing-patch-4 branch 5 times, most recently from 54bdbee to 3a98ba4 Compare June 2, 2026 11:40
@perturbing perturbing requested a review from Copilot June 9, 2026 17:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the macOS cc-sign installer script by using a per-run temporary directory and safer download options, and it reduces Nix/Hydra evaluation scope to avoid CI failures.

Changes:

  • Refactor install-cc-sign-mac-os.sh to use mktemp -d + trap cleanup, and harden curl usage.
  • Restrict flake systems to Linux-only evaluation.
  • Disable MinGW-w64 Hydra jobs in the Nix project configuration.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
nix/project.nix Disables MinGW-w64 Hydra jobs via includeMingwW64HydraJobs = false.
install-cc-sign-mac-os.sh Uses a dedicated temp directory with cleanup trap; hardens download/unzip flow.
flake.nix Limits evaluated systems to x86_64-linux, disabling Darwin (and other) systems.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread nix/project.nix Outdated
Comment thread flake.nix Outdated
@perturbing perturbing force-pushed the perturbing-patch-4 branch 3 times, most recently from 52bc6ff to 4a1144b Compare June 12, 2026 13:49
@perturbing perturbing force-pushed the perturbing-patch-4 branch from 4a1144b to 9070322 Compare June 12, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants