mirror of
https://github.com/xinux-org/xeonitte.git
synced 2026-02-15 20:33:43 +00:00
⬇️ | A gtk4/libadwaita installer for NixOS based distributions [maintainer=@orzklv]
- Rust 91.4%
- Nix 4.4%
- Meson 3.7%
- 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
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