Zoe Zuser
1d21f73a2d
fix race with getStore() ( #45 )
...
by calling it once before starting the server
closes : #44
2025-05-28 15:02:52 -04:00
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
Bouke van der Bijl
dabf46d65d
Call initLibStore before opening store ( #23 )
2023-02-27 07:39:07 -08:00
Gabriella Gonzalez
4ac870a142
Restructure NAR streaming to remove one pointer indirection ( #2 )
...
We can pass the two fields directly via the FFI instead of
bundling them in a `String_` struct
2022-08-29 11:35:58 -07:00
Gabriella Gonzalez
0242d8bebb
Add support for streaming NAR output ( #1 )
...
Before this change the NAR contents would be buffered in memory before
supplying them to the client. Now each chunk is instantly flushed
to the client when it's available.
This requires reworking things so that we use a `StreamingBody`,
which in turn requires passing a Haskell callback to the C code to
invoke.
2022-08-23 16:32:34 -07:00
Gabriella Gonzalez
dbf735e77f
Fix /log/
endpoint
...
The old logic would fail to return a result if a later
substituter didn't have the log file, even if an older
This also simplifies the logic.
2022-07-01 12:29:28 -07:00
Gabriella Gonzalez
24fb4b7fea
Add support for /log/
API
2022-06-30 15:45:40 -07:00
Gabriella Gonzalez
3bd298c02a
Add support for /nar/*.nar
endpoint
2022-06-30 15:06:41 -07:00
Gabriella Gonzalez
9e5e5f45f3
Add support for signatures
2022-06-15 15:40:13 -07:00
Gabriella Gonzalez
ddcf0a04db
Initial commit
2022-06-15 10:21:24 -07:00