Skip to content

Commit 4f0cd36

Browse files
authored
Switch to nixpkgs-26.05-darwin stable branch (#26)
Nixpkgs 26.11 has dropped support for x86_64-darwin, so switch to the 26.05 stable branch which still has support for it.
1 parent 87c5a18 commit 4f0cd36

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
- name: Install Nix
100100
uses: cachix/install-nix-action@v31
101101
with:
102-
nix_path: nixpkgs=channel:nixos-unstable
102+
nix_path: nixpkgs=channel:nixpkgs-26.05-darwin
103103

104104
- name: Set up Nix cache
105105
uses: cachix/cachix-action@v17
@@ -111,8 +111,8 @@ jobs:
111111

112112
- name: Repair wheel
113113
run: |
114-
nix shell .#llvm_${{ matrix.llvm }}.dist nixpkgs#uv \
115-
--command uvx --from delocate delocate-wheel -v -w dist result-dist/*.whl
114+
nix shell .#llvm_${{ matrix.llvm }}.dist \
115+
--command nix develop --command uvx --from delocate delocate-wheel -v -w dist result-dist/*.whl
116116
117117
- name: Upload
118118
uses: actions/upload-artifact@v7.0.1

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
inputs = {
3-
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
3+
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-26.05-darwin";
44
flake-utils.url = "github:numtide/flake-utils";
55
};
66

@@ -21,6 +21,10 @@
2121
default = llvm_22;
2222
};
2323

24+
devShells.default = pkgs.mkShellNoCC {
25+
packages = [pkgs.uv];
26+
};
27+
2428
formatter = pkgs.alejandra;
2529
}
2630
);

0 commit comments

Comments
 (0)