From dc2dfe1047e9fe4531f7bb6bc4e68a4eb78bf7bd Mon Sep 17 00:00:00 2001 From: midchildan Date: Mon, 2 Sep 2024 02:55:27 +0900 Subject: [PATCH] refactor!(flake): drop support for x86_64-darwin --- .github/workflows/build.yaml | 2 +- flake.nix | 1 - nix/darwin/machines/default.nix | 1 - nix/templates/devenv/flake.nix | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1c52cd35..9d678799 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,7 +8,7 @@ jobs: flake: strategy: matrix: - runners: [ubuntu-latest, macos-latest, macos-13] + runners: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.runners }} steps: - uses: actions/checkout@v4 diff --git a/flake.nix b/flake.nix index 2e15bdeb..0b71b455 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,6 @@ systems = [ "aarch64-darwin" "aarch64-linux" - "x86_64-darwin" "x86_64-linux" ]; }; diff --git a/nix/darwin/machines/default.nix b/nix/darwin/machines/default.nix index b62df182..45bcf8e0 100644 --- a/nix/darwin/machines/default.nix +++ b/nix/darwin/machines/default.nix @@ -8,6 +8,5 @@ in # By default Nix-Darwin would look for a configuration whose name matches # its hostname. ci = importDarwin ./ci.nix { pkgs = pkgsFor "aarch64-darwin"; }; - ci-amd64 = importDarwin ./ci.nix { pkgs = pkgsFor "x86_64-darwin"; }; }; } diff --git a/nix/templates/devenv/flake.nix b/nix/templates/devenv/flake.nix index 433540d7..e25b8546 100644 --- a/nix/templates/devenv/flake.nix +++ b/nix/templates/devenv/flake.nix @@ -37,7 +37,6 @@ systems = [ "x86_64-linux" - "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];