From aaddeb594462b629ed4c1fa5cff100f149963b3e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 4 Mar 2018 06:47:43 -0800 Subject: [PATCH] site: download: style warnings [ci skip] --- site/download.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/site/download.md b/site/download.md index 4e78fb472..37857a5be 100644 --- a/site/download.md +++ b/site/download.md @@ -13,6 +13,13 @@ td:first-of-type { /* width:1%; */ } a { white-space:nowrap; } +.warnings { + font-style:italic; +} +.warnings > a:before { + content: "⚠ "; + color:red; +} System packages are quickest to install, @@ -21,15 +28,15 @@ but they can be [out of date](https://repology.org/metapackage/hledger/badges) o | |----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -| Windows: | [Latest developer builds](https://ci.appveyor.com/project/simonmichael/hledger/build/artifacts) ([no hledger-ui](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444)) -| Mac: | **`brew install hledger`** ([CLI only](https://github.com/simonmichael/hledger/issues/321#issuecomment-179920520)) -| Arch Linux: | **`pacman -S hledger`** (haskell problems are common on Arch at present, cf #668 [1](https://github.com/simonmichael/hledger/issues/668#issuecomment-352197500), [2](https://github.com/simonmichael/hledger/issues/668#issuecomment-355107667)) +| Windows: | [Latest developer builds](https://ci.appveyor.com/project/simonmichael/hledger/build/artifacts) ([appveyor builds are not up to date](https://github.com/simonmichael/hledger/issues/694), [no hledger-ui](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444)) +| Mac: | **`brew install hledger`** ([only hledger CLI is packaged](https://github.com/simonmichael/hledger/issues/321#issuecomment-179920520)) +| Arch Linux: | **`pacman -S hledger`** ([haskell problems are common on Arch at present](https://github.com/simonmichael/hledger/issues/668)) | Debian, Ubuntu: | **`sudo apt install hledger hledger-ui hledger-web`** | Fedora, RHEL: | **`sudo dnf install hledger`** | Gentoo: | **`sudo layman -a haskell && sudo emerge hledger hledger-ui hledger-web`** | Void Linux: | **`xbps-install -S hledger hledger-ui hledger-web hledger-api`** -| NixOS: | **`nix-env -iA nixpkgs.haskellPackages.hledger \`
  `nixpkgs.haskellPackages.hledger-ui \`
  `nixpkgs.haskellPackages.hledger-web`** ([problems building hledger-ui on MacOS](https://github.com/simonmichael/hledger/issues/613)) -| Sandstorm: | **[hledger-web Sandstorm app](https://apps.sandstorm.io/app/8x12h6p0x0nrzk73hfq6zh2jxtgyzzcty7qsatkg7jfg2mzw5n90) -> demo** (get a hledger-web server in 3 clicks. [Features needed](https://github.com/simonmichael/hledger/issues/425)) +| NixOS: | **`nix-env -iA nixpkgs.haskellPackages.hledger \`
  `nixpkgs.haskellPackages.hledger-ui \`
  `nixpkgs.haskellPackages.hledger-web`** ([problems building hledger-ui on MacOS](https://github.com/simonmichael/hledger/issues/613)) +| Sandstorm: | **[hledger-web Sandstorm app](https://apps.sandstorm.io/app/8x12h6p0x0nrzk73hfq6zh2jxtgyzzcty7qsatkg7jfg2mzw5n90) -> demo** - a hledger-web server in 3 clicks. ([features needed](https://github.com/simonmichael/hledger/issues/425)) @@ -45,10 +52,12 @@ significant time (minutes to 1 hour), memory (eg 1G+), and disk space unattended, you can kill and restart it without losing progress, and subsequent builds will be quicker. -And, here are some current build issues that might affect you:\ + +Some known build issues and workarounds:\ [freebsd 12 no cabal file found](https://github.com/simonmichael/hledger/issues/709),\ [openbsd 6 exec permission denied](https://deftly.net/posts/2017-10-12-using-cabal-on-openbsd.html),\ -[openbsd how to get stack](https://github.com/commercialhaskell/stack/issues/2822#issuecomment-318892816) +[openbsd how to get stack](https://github.com/commercialhaskell/stack/issues/2822#issuecomment-318892816). + ### 1. hledger-install @@ -103,7 +112,7 @@ Here's how to use it directly to install hledger: The bracketed packages are optional; if you include them, don't type the brackets, and do always include the preceding hledger-lib and hledger packages in the command, otherwise stack may complain. - hledger-ui is [not yet available on Windows](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444), alas. + ([hledger-ui is not yet available on Windows, alas](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444).) If you get errors due to missing C libraries like curses or terminfo, you'll need to find out the corresponding system packages and install those manually. Eg: