From 3cc9188deca6bdd3273a3996c88ad9e8e6951553 Mon Sep 17 00:00:00 2001 From: Nguyen Thai Date: Tue, 18 Jun 2024 15:46:13 +0700 Subject: [PATCH] Pinned Nix version to 2.22.1 to fix broken build Also bumped olm to 3.2.16 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c84dd21942..8843fe8c2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ # Specify versions ARG FLUTTER_VERSION=3.22.2 -ARG OLM_VERSION=3.2.15 +ARG OLM_VERSION=3.2.16 +ARG NIX_VERSION=2.22.1 # Building libolm # libolm only has amd64 -FROM --platform=linux/amd64 nixos/nix AS olm-builder +FROM --platform=linux/amd64 nixos/nix:${NIX_VERSION} AS olm-builder ARG OLM_VERSION RUN nix build -v --extra-experimental-features flakes --extra-experimental-features nix-command gitlab:matrix-org/olm/${OLM_VERSION}?host=gitlab.matrix.org\#javascript