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