mirror of
https://github.com/input-output-hk/devx.git
synced 2024-09-21 00:58:07 +03:00
Slightly opinionated shared GitHub Action for Cardano-Haskell projects
4e8dc4896a
--------- Co-authored-by: Yvan Sraka <yvan@sraka.xyz> Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com> Co-authored-by: Andrea Bedini <andrea.bedini@tweag.io> |
||
---|---|---|
.github/workflows | ||
extra | ||
haskell/nix-shell | ||
pkgs | ||
cross-js.nix | ||
dynamic.nix | ||
fetch-docker.sh | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
macos.bash | ||
README.md | ||
static.nix | ||
tool-map.nix |
Developer Experience Repo
To obtain a development shell for hacking on haskell based projects at use
nix develop github:input-output-hk/devx#ghc8107 --no-write-lock-file --refresh
if you want to pick a specific system (e.g. you are on an apple silicon mac, and want to switch between different architectures):
nix develop github:input-output-hk/devx#ghc8107 --no-write-lock-file --refresh --system x86_64-darwin
or
nix develop github:input-output-hk/devx#ghc8107 --no-write-lock-file --refresh --system aarch64-darwin
To use a different compiler, chose #ghc925
instead of #ghc8107
or similar. There are also other configurations:
#ghc8107-minimal
(same as#ghc8107
, but withouthaskell-langauge-server
orhlint
).#ghc8107-static
(same as#ghc8107
, but configured to produce static outputs instead of dynamically linked ones).#ghc8107-static-minimal
(same as#ghc8107-static
, but configured withouthaskell-language-server
orhlint
).