16 Commits

Author SHA1 Message Date
Zoe Zuser
d1b8a9a02f
Support Lix 2.92 (#42)
* Support Lix 2.92

nix-serve-ng can now build against lix by passing -f lix to cabal

the flake now also exports the `lix-serve-ng` package for a version that
is built against lix

* add back configureFlags, lost in rebase
2025-05-10 21:19:48 +02:00
John Ericson
101b4a552f
Update to Nix 2.28 (#41)
* Format all Nix files

* flake.lock: Update, temporary to Nixpkgs master

Needed for Nix 2.28 until Hydra advances.

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
  → 'github:NixOS/nixpkgs/ef3a956f697525883b77192cbe208233ea0f8f79?narHash=sha256-oxI9TLgnQbQ/WL0tIwVSIooLbXq4PW1QUhf5aQmXFgk%3D' (2025-04-09)

* Update to Nix 2.28
2025-04-09 15:28:10 -07:00
Jörg Thalheim
6e8d82a451
fix build against Nix 2.24 (#40)
* bump nixpkgs

* fix build against nix 2.24

* depend on nix 2.24
2024-12-02 15:12:47 +01:00
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