Skip to content

Instantly share code, notes, and snippets.

@alpmestan
Created September 11, 2017 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alpmestan/25202f2d1a4d5791d9d63516721c8fb3 to your computer and use it in GitHub Desktop.
Save alpmestan/25202f2d1a4d5791d9d63516721c8fb3 to your computer and use it in GitHub Desktop.
styx
cabal install styx
Warning: The package list for 'hackage.haskell.org' is 26 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Configuring conduit-1.2.11...
Building conduit-1.2.11...
Installed conduit-1.2.11
Configuring yaml-0.8.23.3...
Building yaml-0.8.23.3...
Installed yaml-0.8.23.3
Downloading styx-1.3...
Configuring styx-1.3...
Building styx-1.3...
Installed styx-1.3
$ ~/.cabal/bin/styx --help
Usage: styx COMMAND
Wrapper around nix-shell, cabal2nix and cabal
Available options:
-h,--help Show this help text
Available commands:
configure Re-configure the project on the basis of the
styx.yaml file
clean Remove all styx working files
build (Attempt to) build and install all the packages in
the sandbox
repl Start a repl in the nix-shell'ed cabal sandbox
exec Exec a command in the nix-shell'ed cabal sandbox
cabal Execute an arbitrary cabal command in the
nix-shell'ed cabal sandbox
# And the repo is at https://github.com/jyp/styx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment