Skip to content

Latest commit

 

History

History
48 lines (48 loc) · 1.35 KB

README.org

File metadata and controls

48 lines (48 loc) · 1.35 KB

flutterFlake

a flake for flutter-projects on nixos

ATTENTION

~/.cache/flutter/dart-sdk

hacky workaround

currently dart is copied to the cache on devshell-entry

cp -r ${flutter}/bin/cache/dart-sdk ~/.cache/flutter/dart-sdk

find and implement a clean solution

USAGE

cf. SETUP (./template/README.org)

INFO

version

Tags relate to the flutter-version in major.minor.patch.
The optional flakeVersion is appended: major.minor.patch.flakeVersion. \ A buildNumber (+N) cannot be used because of nix flake restrictions.

nvfetcher

is used for dart and flutter

nix

is based on nixpkgs
cf. nix/README.org

update-workflow

  • specify {flutter,dart}-version in ./nvfetcher.toml
  • update ./_sources
    nvfetcher -f dart -f flutter
        
  • update tag in ./template/flake.nix
    ### …
     flutter-flake = {
       url    = "github:FrankBeu/flutterFlake/<TAG>";
    ### …
        
  • update changelog.org
  • commit
  • tag (name: flutter version)
  • push

TODOS

use app

enable linux builds

currently gtk3-dev-libs cannot be found

do not use ~/.cache/flutter

emulator

ERLEDIGTES

flake-template

update-workflow