From e609bcebcd7bed9601aa9ca6fa694115830ece23 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 7 Nov 2026 13:03:00 -0500 Subject: [PATCH] prepare v1.1.0-alpha1 --- README.md | 2 +- linux/nix/pkg/default.nix | 11 ++++++++++- pubspec.yaml | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a0c111d..5d3090f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ nexus = { This tracks the latest commit on `main`. To stay on a release instead, pin the input to its tag: ```nix -url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.0"; +url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.1"; ``` Then import the module and enable it in your NixOS configuration: diff --git a/linux/nix/pkg/default.nix b/linux/nix/pkg/default.nix index 2a6b4a1..1248cc2 100644 --- a/linux/nix/pkg/default.nix +++ b/linux/nix/pkg/default.nix @@ -8,13 +8,22 @@ libclang, flutter, stdenv, + runCommand, + yq, src, commit ? "dev", }: +let + pubspec = lib.importJSON ( + runCommand "pubspec.json" { nativeBuildInputs = [ yq ]; } '' + yq . ${src}/pubspec.yaml > $out + '' + ); +in flutter.buildFlutterApplication { pname = "nexus"; - version = "1.0.0"; + version = lib.head (lib.splitString "+" pubspec.version); inherit src; preBuild = '' diff --git a/pubspec.yaml b/pubspec.yaml index d124a53..a1dbdf5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nexus description: "A simple and user-friendly Matrix client" -version: 1.0.0 +version: 1.1.0-alpha1 publish_to: none flutter: