Skip to content

initial darwin support #33

@MattSturgeon

Description

@MattSturgeon

In Defelo/nixpkgs-review-gha#22 I experimented with some basic disk space reclamation for darwin runners: diff

This is based on https://github.com/azuwis/actions/blob/395a1d18d5eb0e2b349f2a887a31996f330307b9/nix/prepare.sh#L57-L80

This can be seen running here: https://github.com/MattSturgeon/nixpkgs-review-gha/actions/runs/16032474545/job/45236209227
and here: https://github.com/MattSturgeon/nixpkgs-review-gha/actions/runs/16032474545/job/45236209224


I'm wondering if this is something that we should get merged into nothing-but-nix?

At least initially, many of the action's inputs would not be applicable to darwin, and many of the action's features would not be supported. But from a high-level concept perspective, it'd still have the same goal of reclaiming as much space as possible from the default darwin images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions