Commit 20416f0
authored
Overhaul and modernize Nix flake setup (#706)
* add envrc for direnv users
this was already used by several developers, this just makes it
official
* replace run-tests-script with nix flake check
this also allows us to remove our single 'spago test' invocation
in a github workflow, so all CI checks are in the Nix checks for
Garnix to execute
while i was at it, i removed the nix flakes wrapper, shell.nix,
and flake-compat inclusions as at this point pretty much everyone
is on a flake-compatible version of Nix
* extract wiremock mappings
* migrate to buildNpmPackage from slimlock
slimlock was the homegrown npm dependency builder from ps-overlay
from before when buildNpmPackage was a suitable choice for the
registry, but at this point it's well-suited to be the standard
choice for us.
* overhaul nix flake setup
our homegrown nix setup has diverged quite a bit from modern
best practices and is hard to read. it also included some
unnecessary helpers (like run-vm to work on a local vm) which
we can remove.
this change overhauls the full setup while maintaining the
existing tests to make it simpler, more performant, and more
usable for contributors.
the deployments are still simple ('colmena apply').1 parent 00000a7 commit 20416f0
File tree
19 files changed
+952
-1349
lines changed- .github/workflows
- app
- nix
- lib
- overlays
- test
- scripts
19 files changed
+952
-1349
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
42 | 56 | | |
43 | 57 | | |
44 | | - | |
| 58 | + | |
45 | 59 | | |
46 | 60 | | |
47 | 61 | | |
| |||
81 | 95 | | |
82 | 96 | | |
83 | 97 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
| |||
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments