This commit is contained in:
Jeremy Soller 2025-06-15 21:12:09 -06:00
commit 51bad855b0
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
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}
"""