Skip to content

Commit

Permalink
;site: download: note nix on linux breakage (#1030)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
simonmichael committed May 18, 2019
1 parent a7ffa61 commit 9e64aca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions site/download.md
Expand Up @@ -41,8 +41,8 @@ These prebuilt binaries will install quickly:
| | |
|-----------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <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)
| [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> |
| [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.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) |
| [Wine]<br><small>*Linux,&nbsp;Mac,&nbsp;FreeBSD*</small> | *Install Wine, run the Windows binary below* | |
| <br><big>**Windows**</big> | | |
Expand Down Expand Up @@ -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.* |
| [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> |

Expand Down Expand Up @@ -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:

<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: 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)\
Expand Down

0 comments on commit 9e64aca

Please sign in to comment.