Slightly opinionated shared GitHub Action for Cardano-Haskell projects
Go to file
Hamish Mackenzie 54ddb7f0b3
Add Windows Cross Compilers (#45)
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>
2023-05-03 09:53:37 +08:00
.github/workflows Add Windows Cross Compilers (#45) 2023-05-03 09:53:37 +08:00
extra Create GitHub Action, and clean up. (#44) 2023-04-27 19:40:05 +08:00
pkgs Add cddl and cbor-diag 2022-11-14 11:41:57 +08:00
.gitignore Cleanup (#49) 2023-04-30 13:05:16 +08:00
cross-js.nix Cleanup (#49) 2023-04-30 13:05:16 +08:00
cross-windows.nix Add Windows Cross Compilers (#45) 2023-05-03 09:53:37 +08:00
dynamic.nix Cleanup (#49) 2023-04-30 13:05:16 +08:00
flake.lock Add libblst to iog shells (#43) 2023-04-27 08:53:50 +08:00
flake.nix Add Windows Cross Compilers (#45) 2023-05-03 09:53:37 +08:00
LICENSE Initial commit 2022-09-27 13:22:13 +08:00
macos.bash add macOS docs 2022-11-27 15:29:43 +08:00
README.md Update README.md 2022-12-08 17:19:59 +08:00
static.nix Cleanup (#49) 2023-04-30 13:05:16 +08:00
tool-map.nix Use ghcr.io to store closure (#39) 2023-04-26 14:56:35 +08:00

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 without haskell-langauge-server or hlint).
  • #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 without haskell-language-server or hlint).