13 Commits

Author SHA1 Message Date
Gabriella Gonzalez
4a101296b7
Fix Nix build (#35)
… by bumping `base-16` to version 1.0.0 to match the constraint added
in https://github.com/aristanetworks/nix-serve-ng/pull/33

Fixes https://github.com/aristanetworks/nix-serve-ng/issues/34
2024-03-02 18:57:01 +01:00
Gabriella Gonzalez
21e65cb4c6
Support GHC 9.4 (#32)
Fixes https://github.com/aristanetworks/nix-serve-ng/issues/31
2023-12-18 07:16:55 -08:00
Sefa Eyeoglu
f3931b8120
Don't use URL literals (#29)
Also switch to nixpkgs-unstable, as using nixpkgs master is unusual.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-07-04 11:27:01 -05:00
Vika
6216734855
Fix overlay.* flake outputs not conforming to spec (#21)
- overlay function argument names should be `final` and `prev`
 - `overlay.*` should be overlays -- functions taking `final: prev:`

The NixOS module was amended to preserve compatibility.
2023-01-24 07:35:19 -08:00
Gabriella Gonzalez
e36a1a93aa
Fix Nix build (#17)
Fixes https://github.com/aristanetworks/nix-serve-ng/issues/16
2022-11-25 18:46:54 -07:00
Gabriella Gonzalez
1e42286b14
Fix builds on Darwin (#14)
* Fix builds on Darwin

… using the trick that @roberth taught me here:

https://github.com/NixOS/nixpkgs/pull/196646#issuecomment-1327364634

This requires bumping the Cabal format version, which in turn requires
bumping the version of `cabal2nix`

* Update README
2022-11-25 09:16:11 -07:00
Moritz Böhme
5e0e4fb8ab
Fix flake default app path (#11) 2022-11-02 19:13:03 -07:00
Gabriella Gonzalez
1937593598
Fix default NixOS module (#6)
… to correctly override `pkgs.nix-serve` with `pkgs.nix-serve-ng`
2022-09-07 09:47:43 -07:00
Gabriella Gonzalez
e686b2b1fc
Add README.md (#4)
… and make matching changes to `flake.nix` to support the usage
documented in the `README`
2022-09-01 12:36:08 -07:00
Gabriella Gonzalez
166672a78f
Benchmark using wallclock time instead of CPU time (#3)
This requires upgrading to a newer version of `nixpkgs` to pick up
a newer version of the `tasty-bench` package in order to support
benchmarking using wall-clock time
2022-08-31 14:06:16 -07:00
Gabriella Gonzalez
db246ffa56
Use packageSourceOverrides (#3)
The original reason for not using this was to
work around a mistake on our end.  When we specified
`nix` via the `extra-libraries` clause of the `.cabal`
file instead of `pkgconfig-depends` that messed up the
file generated by `cabal2nix` which entailed various
work-arounds.  Those workarounds are no longer necessary,
so we can switch to `packageSourceOverrides`
2022-07-06 12:50:53 -07:00
Gabriella Gonzalez
773da02662 Add benchmark suite 2022-07-05 10:13:10 -07:00
Gabriella Gonzalez
670846795d Flake-enable the project 2022-07-01 14:00:11 -07:00