Skip to content

Commit baaeeb9

Browse files
committed
- Modified the GitHub Actions workflow to limit the build matrix to only x86_64-linux, commenting out aarch64-linux due to slower cross-compilation requirements.
- Updated the `sha256` hash for the Python package fetching in `packages.nix` to a specific value for consistency.
1 parent 588eb67 commit baaeeb9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/nix-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
system: [x86_64-linux, aarch64-linux]
50+
system: [x86_64-linux]
51+
# Note: aarch64-linux builds require cross-compilation or QEMU emulation
52+
# which is slower. Uncomment if you want to test ARM builds:
53+
# system: [x86_64-linux, aarch64-linux]
5154
steps:
5255
- name: Checkout repository
5356
uses: actions/checkout@v4

nix/packages.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010

1111
src = pkgs.python3Packages.fetchPypi {
1212
inherit pname version;
13-
# Hash will be computed automatically on first build
14-
sha256 = pkgs.lib.fakeSha256;
13+
sha256 = "sha256-mnr5WqH/uKzONI8lcm1GQCSlnhx6WQyqsAr12gsMKEI=";
1514
};
1615

1716
propagatedBuildInputs = with pkgs.python3Packages; [

0 commit comments

Comments
 (0)