Merge branch 'fix-tomlize-powerline' into 'master'

Fix and TOMLize tools/powerline

See merge request redox-os/cookbook!505
This commit is contained in:
Jeremy Soller 2025-06-14 07:05:26 -06:00
commit 902e580101
2 changed files with 17 additions and 2 deletions

View File

@ -1,2 +0,0 @@
GIT=https://github.com/jD91mZM2/powerline-rs
CARGOFLAGS="--no-default-features --features chrono"

View File

@ -0,0 +1,17 @@
[source]
git = "https://github.com/jD91mZM2/powerline-rs"
[build]
template = "custom"
script = """
export CARGOFLAGS="--no-default-features --features chrono"
# --locked uses a reallyyyy old redox_syscall and libc which fails
${COOKBOOK_CARGO} install \
--path "${COOKBOOK_SOURCE}/${PACKAGE_PATH}" \
--root "${COOKBOOK_STAGE}/usr" \
--no-track \
--no-default-features \
--features chrono \
${install_flags}
"""