# Build everything (default)
nix build
# Or explicitly
nix build '.#default'The result will include:
/bin/logos-app-poc- The main Logos application executable- All required modules and dependencies
# Build only the main application
nix build '.#app'# Enter development shell with all dependencies
nix developNote: In zsh, you need to quote the target (e.g., '.#default') to prevent glob expansion.
If you don't have flakes enabled globally, add experimental flags:
nix build --extra-experimental-features 'nix-command flakes'The compiled artifacts can be found at result/
After building with nix build, you can run the application:
# Run the main Logos application
./result/bin/logos-app-pocThe application will automatically load all required modules and dependencies. All components are bundled in the Nix store layout.
The nix build system is organized into modular files in the /nix directory:
nix/default.nix- Common configuration and main application buildnix/app.nix- Application-specific compilation settingsnix/main-ui.nix- UI components compilationnix/counter.nix- Counter module compilation
- CMake (3.16 or later)
- Ninja build system
- pkg-config
- Qt6 (qtbase)
- Qt6 Widgets (included in qtbase)
- Qt6 Remote Objects (qtremoteobjects)
- logos-liblogos
- logos-cpp-sdk (for header generation)
- logos-capability-module
- logos-package-manager
- zstd
- krb5
- abseil-cpp