mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-04-14 04:03:20 +00:00
pin nimble to 0.22.3 in ci and nix
This commit is contained in:
parent
3b78afa4b1
commit
94d5ad40ac
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -15,7 +15,7 @@ env:
|
||||
MAKEFLAGS: "-j${NPROC}"
|
||||
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none"
|
||||
NIM_VERSION: '2.2.4'
|
||||
NIMBLE_VERSION: '0.18.2'
|
||||
NIMBLE_VERSION: '0.22.3'
|
||||
|
||||
jobs:
|
||||
changes: # changes detection
|
||||
|
||||
2
.github/workflows/container-image.yml
vendored
2
.github/workflows/container-image.yml
vendored
@ -16,7 +16,7 @@ env:
|
||||
MAKEFLAGS: "-j${NPROC}"
|
||||
NIMFLAGS: "--parallelBuild:${NPROC}"
|
||||
NIM_VERSION: '2.2.4'
|
||||
NIMBLE_VERSION: '0.18.2'
|
||||
NIMBLE_VERSION: '0.22.3'
|
||||
|
||||
# This workflow should not run for outside contributors
|
||||
# If org secrets are not available, we'll avoid building and publishing the docker image and we'll pass the workflow
|
||||
|
||||
2
.github/workflows/windows-build.yml
vendored
2
.github/workflows/windows-build.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
env:
|
||||
NPROC: 4
|
||||
NIM_VERSION: '2.2.4'
|
||||
NIMBLE_VERSION: '0.18.2'
|
||||
NIMBLE_VERSION: '0.22.3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
14
flake.nix
14
flake.nix
@ -36,9 +36,21 @@
|
||||
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
nimbleOverlay = final: prev: {
|
||||
nimble = prev.nimble.overrideAttrs (_: {
|
||||
version = "0.22.3";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "nim-lang";
|
||||
repo = "nimble";
|
||||
rev = "v0.22.3";
|
||||
sha256 = "sha256-f7DYpRGVUeSi6basK1lfu5AxZpMFOSJ3oYsy+urYErg=";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
pkgsFor = system: import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ (import rust-overlay) ];
|
||||
overlays = [ (import rust-overlay) nimbleOverlay ];
|
||||
};
|
||||
in {
|
||||
packages = forAllSystems (system:
|
||||
|
||||
@ -1,5 +1,17 @@
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
nimble = pkgs.nimble.overrideAttrs (_: {
|
||||
version = "0.22.3";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nim-lang";
|
||||
repo = "nimble";
|
||||
rev = "v0.22.3";
|
||||
sha256 = "sha256-f7DYpRGVUeSi6basK1lfu5AxZpMFOSJ3oYsy+urYErg=";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
pkgs.mkShell {
|
||||
inputsFrom = [
|
||||
pkgs.androidShell
|
||||
@ -8,13 +20,12 @@ pkgs.mkShell {
|
||||
pkgs.darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
buildInputs = (with pkgs; [
|
||||
git
|
||||
cargo
|
||||
rustup
|
||||
rustc
|
||||
cmake
|
||||
nim-2_2
|
||||
nimble
|
||||
];
|
||||
]) ++ [ nimble ]; # nimble pinned to 0.22.3 via let binding above
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user