forked from Nexus/nexus
prepare v1.1.0-alpha1
This commit is contained in:
parent
bf8490896c
commit
e609bcebcd
3 changed files with 12 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 = ''
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue