;site: download: note nix on linux breakage (#1030)

[ci skip]
This commit is contained in:
Simon Michael 2019-05-18 12:19:13 -07:00
parent a7ffa6108b
commit 9e64acaaab

View File

@ -41,8 +41,8 @@ These prebuilt binaries will install quickly:
| | | | | |
|-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <br><big>**Multiplatform**</big> | | <br><small>*Packaged&nbsp;version:*</small> | | <br><big>**Multiplatform**</big> | | <br><small>*Packaged&nbsp;version:*</small> |
| [Nix]<br><small>*Linux,&nbsp;Mac*</small> | <span style="font-size:small;">**`nix-env -i -f https://github.com/NixOS/nixpkgs/archive/9c74e2.tar.gz -A hledger hledger-web hledger-ui`**</span> | ![](https://img.shields.io/badge/Nix_package-1.14.1-brightgreen.svg) | [Nix]<br><small>*Linux,&nbsp;Mac*</small> | <span style="font-size:small;">**`nix-env -i -f https://github.com/NixOS/nixpkgs/archive/ec5f5a.tar.gz -A hledger hledger-web hledger-ui`**<br>*<span class=warnings>[#1030](https://github.com/simonmichael/hledger/issues/1030)</span> On Linux, may need **`sudo sysctl kernel.unprivileged_userns_clone=1`** first*</span> | ![](https://img.shields.io/badge/Nix_package-1.14.2-brightgreen.svg)
| [Docker]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | **`docker pull dastapov/hledger`** | [![](https://img.shields.io/badge/Docker_image-1.14.1-brightgreen.svg)](https://hub.docker.com/r/dastapov/hledger)<br><small>[more..](https://hub.docker.com/search?q=hledger&type=image&sort=updated_at&order=desc)</small> | | [Docker]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | **`docker pull dastapov/hledger`** | [![](https://img.shields.io/badge/Docker_image-1.14.2-brightgreen.svg)](https://hub.docker.com/r/dastapov/hledger)<br><small>[more..](https://hub.docker.com/search?q=hledger&type=image&sort=updated_at&order=desc)</small> |
| [Homebrew]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | **`brew install hledger`** | [![](https://repology.org/badge/version-for-repo/homebrew/hledger.svg)](https://formulae.brew.sh/formula/hledger) | | [Homebrew]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | **`brew install hledger`** | [![](https://repology.org/badge/version-for-repo/homebrew/hledger.svg)](https://formulae.brew.sh/formula/hledger) |
| [Wine]<br><small>*Linux,&nbsp;Mac,&nbsp;FreeBSD*</small> | *Install Wine, run the Windows binary below* | | | [Wine]<br><small>*Linux,&nbsp;Mac,&nbsp;FreeBSD*</small> | *Install Wine, run the Windows binary below* | |
| <br><big>**Windows**</big> | | | | <br><big>**Windows**</big> | | |
@ -117,7 +117,7 @@ Or, you can install stack or cabal yourself and deal with them directly.
| | | | | |
|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| | | | | |
| [hledger-install.sh]<br><small>*Linux,&nbsp;Mac,&nbsp;WSL*</small> | <span style="font-size:medium;">**`curl -sO https://raw.githubusercontent.com/simonmichael/hledger/master/hledger-install/hledger-install.sh`**<br>**`less hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# satisfy yourself that the script is safe*<br>**`bash hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# runs stack or cabal, installing stack if needed*</span> | | [hledger-install.sh]<br><small>*Linux,&nbsp;Mac,&nbsp;WSL*</small> | <span style="font-size:medium;">**`curl -s https://raw.githubusercontent.com/simonmichael/hledger/master/hledger-install/hledger-install.sh -O`**<br>**`less hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# satisfy yourself that the script is safe*<br>**`bash hledger-install.sh`**&nbsp;&nbsp;&nbsp;&nbsp;*# runs stack or cabal, installing stack if needed*</span> |
| [stack]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`stack install --resolver=nightly-2019-03-21 hledger hledger-web hledger-ui`**</span>&nbsp;&nbsp;&nbsp;&nbsp;*# installs GHC if needed.* | | [stack]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`stack install --resolver=nightly-2019-03-21 hledger hledger-web hledger-ui`**</span>&nbsp;&nbsp;&nbsp;&nbsp;*# installs GHC if needed.* |
| [cabal]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`cabal v2-update && cabal v2-install hledger-1.14.2 hledger-web-1.14.1 hledger-ui-1.14.2`**</span> | | [cabal]<br><small>*Linux,&nbsp;Mac,&nbsp;Windows*</small> | <span style="font-size:medium;">**`cabal v2-update && cabal v2-install hledger-1.14.2 hledger-web-1.14.1 hledger-ui-1.14.2`**</span> |
@ -184,6 +184,7 @@ do a web search for the link error message (and send updates for this list):
Here are some known build issues and workarounds on certain platforms: Here are some known build issues and workarounds on certain platforms:
<span class="warnings" style="font-size:medium;"> <span class="warnings" style="font-size:medium;">
[nix: nix install on linux can fail with "cloning builder process: Operation not permitted"](https://github.com/simonmichael/hledger/issues/1030)\
[windows: hledger-ui is not available](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444)\ [windows: hledger-ui is not available](https://github.com/jtdaugherty/vty/pull/1#issuecomment-297143444)\
[windows: build hangs using GHC 8.6.3](https://github.com/well-typed/generics-sop/issues/93)\ [windows: build hangs using GHC 8.6.3](https://github.com/well-typed/generics-sop/issues/93)\
[windows: cross-environment non-ascii display issues](https://github.com/simonmichael/hledger/issues/961#issuecomment-471229644)\ [windows: cross-environment non-ascii display issues](https://github.com/simonmichael/hledger/issues/961#issuecomment-471229644)\