feat: add native Linux desktop builds

This commit is contained in:
randogoth 2026-10-11 10:10:15 +03:00
parent 01a36e8aee
commit 9a11194f77
14 changed files with 528 additions and 6 deletions

View file

@ -2,13 +2,25 @@
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/main/schema/schemas/devbox.schema.json",
"packages": {
"flutter@3.41.9-sdk-links": {},
"path:./nix-android-sdk#android-sdk": {}
"path:./nix-android-sdk#android-sdk": {},
"gtk3": {},
"clang": {},
"cmake": {},
"ninja": {},
"pkg-config": {},
"patchelf": {}
},
"shell": {
"init_hook": [
"export PKG_CONFIG_PATH=\"$PWD/.devbox/nix/profile/default/lib/pkgconfig:$PKG_CONFIG_PATH\"",
"export LD_LIBRARY_PATH=\"$PWD/.devbox/nix/profile/default/lib:$LD_LIBRARY_PATH\""
],
"scripts": {
"analyze": "cd app && flutter analyze",
"test": "cd app && flutter test",
"run": "cd app && flutter run"
"run": "cd app && flutter run",
"run-linux": "cd app && flutter run -d linux",
"build-linux": "cd app && flutter build linux"
}
}
}
}