mirror of
https://github.com/input-output-hk/devx.git
synced 2024-11-10 18:56:40 +03:00
Slightly opinionated shared GitHub Action for Cardano-Haskell projects
54ddb7f0b3
This adds windows cross compilation support, as well as the necessary testing infrastructure to build on one machine (with the nix shell), and then run the executable on a another. --------- Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com> |
||
---|---|---|
.github/workflows | ||
extra | ||
pkgs | ||
.gitignore | ||
cross-js.nix | ||
cross-windows.nix | ||
dynamic.nix | ||
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
).