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") ] );