mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Merge branch 'fix-tomlize-powerline' into 'master'
Fix and TOMLize tools/powerline See merge request redox-os/cookbook!505
This commit is contained in:
commit
902e580101
@ -1,2 +0,0 @@
|
||||
GIT=https://github.com/jD91mZM2/powerline-rs
|
||||
CARGOFLAGS="--no-default-features --features chrono"
|
||||
17
recipes/tools/powerline/recipe.toml
Normal file
17
recipes/tools/powerline/recipe.toml
Normal 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}
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user