From c95a5ebd2304f2862b0daac4613dc6a892d500d4 Mon Sep 17 00:00:00 2001 From: Karol Broda Date: Tue, 23 Dec 2025 11:01:15 +0100 Subject: [PATCH] fix: add darwin/macOS platform support for nix flake (fixes #1) - Enable CGO on darwin (required for libproc) - Set MACOSX_DEPLOYMENT_TARGET=12.0 for Go 1.25 crypto/x509 compatibility - Add nix build CI on macOS (macos-14 = Apple Silicon) --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d964bde..61c2927 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,3 +36,21 @@ jobs: with: version: latest + nix-build: + strategy: + matrix: + os: [ubuntu-latest, macos-14] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + + - uses: DeterminateSystems/nix-installer-action@main + + - uses: DeterminateSystems/magic-nix-cache-action@main + + - name: nix flake check + run: nix flake check + + - name: nix build + run: nix build +