mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
setup unit tests for Nix
Both for a `nix-build`, where `cabal` executable is not present, but also just for using Stack with nix integration. With nix integration, Stack will make a `nix-shell` where `stack` executable is not found. We use "bare-bones" GHC to solve this. This GHC doesn't exactly respect our Stack or Cabal configurations, so we need to avoid `cubicbezier`'s `matrices` dependency so that `Data.Matrix` resolves to `matrix` package. Also, we don't error on compiler warnings when compiling test files through Nix. I don't know if these warnings would show up on a regular Stack or Cabal config (I'm on NixOS), so it's unaffected for those. TL;DR: Added testing support for Nix build environments; Cabal and Stack environments should be unchanged.
This commit is contained in:
parent
bae6456026
commit
a9b758ea0a
5 changed files with 137 additions and 16 deletions
|
|
@ -1,8 +1,11 @@
|
|||
resolver: lts-18.15
|
||||
resolver: lts-24.25
|
||||
|
||||
allow-newer: false
|
||||
|
||||
packages:
|
||||
- .
|
||||
|
||||
extra-deps: []
|
||||
extra-deps:
|
||||
- geojson-4.1.1@sha256:f450e81d4fe1993f97c7cdb2b9743d54d2621c37b67d8a89536e5e09d33fd737,4233
|
||||
- reanimate-svg-0.13.0.1@sha256:260957e61e2e290a6cbca1d129fa0da66d624a224d0016d3bdc76fa210c70cbd,2950
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue