mirror of
https://github.com/xinux-org/xeonitte.git
synced 2026-04-12 10:48:44 +00:00
⬇️ | A gtk4/libadwaita installer for NixOS based distributions [maintainer=@bahrom04]
- Rust 91.8%
- Nix 4.3%
- Meson 3.4%
- Shell 0.5%
| .github/workflows | ||
| build-aux | ||
| config | ||
| data | ||
| modules/nixos/xeonitte | ||
| packages | ||
| po | ||
| shells/xeonitte | ||
| src | ||
| xeonitte-helper | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| meson.build | ||
| meson_options.txt | ||
| README.md | ||
| rust-toolchain.toml | ||
Development
This application has Linux-only dependencies.
# download dependencies
nix develop
# Initiate meson environment for the first time. This will generate ./src/config.rs
meson setup build
# build the project
nix build --show--trace
# Go one folder back and run bin outside of nix-shell.
cd ..
./xeonitte/result/bin/xeonitte
# Optional. Generate translation words from /po/POTFILES.in if needed.
cd ./po
xgettext --directory=.. --files-from=POTFILES.in --from-code=UTF-8 -kgettext -o translations.pot
New testing way
# on first time run this or dependencies changes usually .nix/flake.lock changed
# to build & run. Remove buildtype, Dprofile to test in --release flag
meson setup builddir --prefix=~/.local --reconfigure --buildtype=debug -Dprofile=development
ninja -C builddir install && ~/.local/bin/xeonitte
All ./config folder data will be generated by meson after nix build. The code searchs for files from /etc/xeonitte so you will grab it manually from ./result/xeonitte folder and put it /etc/xeonitte.
sudo cp -r ./result/etc/xeonitte /etc/xeonitte
Code formatter and checkers
nix fmt .
nix flake check --system x86_64-linux --show-trace
nix repl :lf .
# geting narHash
nix flake prefetch "github:xinux-org/modules"
# getting rev
git rev-parse main