24 lines
839 B
YAML
24 lines
839 B
YAML
image: nixos/unstable
|
|
|
|
environment:
|
|
NIX_CONFIG: |
|
|
max-jobs = auto
|
|
cores = 0
|
|
fallback = true
|
|
show-trace = true
|
|
log-lines = 1
|
|
experimental-features = nix-command flakes
|
|
substituters = https://cache.nixos.org/ https://cache.iog.io https://iohk.cachix.org
|
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=
|
|
|
|
tasks:
|
|
- setup: |
|
|
pushd dependent-if
|
|
- build-it: |
|
|
nix develop -Lv --fallback git+https://git.sr.ht/~mangoiv/adhoc-ghc#ghc92 -c bash -c "cabal build"
|
|
- check-it: |
|
|
nix develop -Lv --fallback git+https://git.sr.ht/~mangoiv/adhoc-ghc#ghc92 -c bash -c "cabal test"
|
|
|
|
sources:
|
|
- https://git.sr.ht/~mangoiv/dependent-if
|