redox/recipes/wip/shells/fish-shell/recipe.toml
Josh Megnauth 0ca65a8415
Fish (builds, runs, hangs on waitpid)
Fish builds and runs! The patch is refreshingly simple:

* mount.h is disabled because we don't have it.
* A recent revision of libc is needed for Redox constants. Types changed
  a bit between releases, so some casts had to be removed or added.
* We don't have pselect, so I had to hack around it by mimicking how it
  works.

Unfortunately, running programs or commands hangs unless part of a
pipeline. So, `ls` hangs but `ls &` works. It seems like a waitpid issue
rather a fork/exec issue.
2025-09-11 02:03:18 -04:00

18 lines
446 B
TOML

# WIP: Builds, runs, but hangs on waitpid
[source]
git = "https://github.com/fish-shell/fish-shell"
rev = "54e8ad7e90a8213c01ba58de0640223bee6846d6"
patches = ["redox.patch"]
[build]
template = "custom"
dependencies = ["gettext", "ncurses", "pcre"]
script = """
DYNAMIC_INIT
# The only default enabled feature is building the man pages.
# However, that requires sphinx so it can just be enabled later.
cookbook_cargo --no-default-features
"""