use nimble 0.22.0 with macos segfault fix

This commit is contained in:
Ivan Folgueira Bande 2026-02-12 11:41:15 +01:00
parent 0dea35d364
commit 96348a5e40
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
2 changed files with 13 additions and 11 deletions

View File

@ -29,17 +29,6 @@ jobs:
- system: x86_64-linux
runs_on: [self-hosted, Linux, X64]
# Nimble segfaults on MacOS hosts.
exclude:
- system: aarch64-darwin
nixpkg: libsds-android-arm64
- system: aarch64-darwin
nixpkg: libsds-android-amd64
- system: aarch64-darwin
nixpkg: libsds-android-x86
- system: aarch64-darwin
nixpkg: libsds-android-arm
name: '${{ matrix.system }} / ${{ matrix.nixpkg }}'
runs-on: ${{ matrix.runs_on }}
steps:

View File

@ -35,6 +35,19 @@
androidPkgs = final.androidEnvCustom.pkgs;
androidShell = final.androidEnvCustom.shell;
})
(final: prev: {
nimble = prev.nimble.overrideAttrs (old: {
src = prev.fetchFromGitHub {
version = "0.22.0"
owner = "nim-lang";
repo = "nimble";
rev = "802e158ddce88c93367ebd9b3c66714b215a7928";
hash = "sha256-m0i6JOwdxvp33XAr9XJ1Daly+4DOLPTUDNXKCHJj3I8=";
fetchSubmodules = true;
};
});
})
];
}
);