-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
12 changed files
with
184 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
use flake | ||
source_url "https://raw.githubusercontent.com/cachix/devenv/95f329d49a8a5289d31e0982652f7058a189bfca/direnvrc" "sha256-d+8cBpDfDBj41inrADaJt+bDWhOktwslgoP5YiGJ1v0=" | ||
|
||
use devenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ pkgs, lib, config, inputs, ... }: | ||
|
||
{ | ||
enterShell = '' | ||
export CHROME_EXECUTABLE=`which chromium` | ||
''; | ||
|
||
scripts = { | ||
create-emulator.exec = "avdmanager create avd --force --name android-32 --package 'system-images;android-32;google_apis_playstore;x86_64'"; | ||
run-app.exec = "flutter run --flavor unsigned"; | ||
build-apk-unsigned.exec = "flutter build apk --flavor unsigned"; | ||
lint.exec = "dart format --set-exit-if-changed ."; | ||
lint-fix.exec = "dart format ."; | ||
}; | ||
|
||
android = { | ||
enable = true; | ||
flutter.enable = true; | ||
|
||
platforms.version = [ "31" "33" "34" ]; | ||
cmake.version = [ "3.18.1" "3.22.1" ]; | ||
googleTVAddOns.enable = false; | ||
ndk = { | ||
enable = true; | ||
version = [ "23.1.7779620" "26.1.10909125" ]; | ||
}; | ||
extras = [ ]; | ||
emulator = { | ||
enable = true; | ||
version = "34.1.9"; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json | ||
inputs: | ||
nixpkgs: | ||
url: github:NixOS/nixpkgs/nixpkgs-unstable | ||
|
||
# If you're using non-OSS software, you can set allowUnfree to true. | ||
allowUnfree: true | ||
|
||
# If you're willing to use a package that's vulnerable | ||
# permittedInsecurePackages: | ||
# - "openssl-1.1.1w" | ||
|
||
# If you have more than one devenv you can merge them | ||
#imports: | ||
# - ./backend |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.