From b96aaed4b2cb006f4ffeacdce19c811c3f23a154 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 3 Aug 2015 17:30:05 -0500 Subject: [PATCH] Install hledger-web in /usr/local. --- .sandstorm/build.sh | 2 +- .sandstorm/sandstorm-pkgdef.capnp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.sandstorm/build.sh b/.sandstorm/build.sh index 2f57a5aae..d64822382 100644 --- a/.sandstorm/build.sh +++ b/.sandstorm/build.sh @@ -20,4 +20,4 @@ set -euo pipefail # By default, this script does nothing. You'll have to modify it as # appropriate for your application. cabal update -cabal install hledger-web-0.26 \ No newline at end of file +cabal install --root-cmd=sudo --global --prefix=/usr/local hledger-web \ No newline at end of file diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp index dd12e97ef..4f13e0a75 100644 --- a/.sandstorm/sandstorm-pkgdef.capnp +++ b/.sandstorm/sandstorm-pkgdef.capnp @@ -76,6 +76,6 @@ const myCommand :Spk.Manifest.Command = ( argv = ["/sandstorm-http-bridge", "8000", "--", "/opt/app/.sandstorm/launcher.sh"], environ = [ # Note that this defines the *entire* environment seen by your app. - (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin:/home/vagrant/.cabal/bin") + (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin") ] );