Skip to content

add module Happstack.Server.FileServe.Nix that serves files/directori… - #92

Open
cliffordbeshers wants to merge 4 commits into
Happstack:masterfrom
seereason:master
Open

cliffordbeshers wants to merge 4 commits into
Happstack:masterfrom
seereason:master

Conversation

@cliffordbeshers

Copy link
Copy Markdown

…es with nix store hashes as etags so that files reload properly when they change

Clifford Beshers and others added 4 commits September 21, 2026 13:33
…es with nix store hashes as etags so that files reload properly when they change
The previous commit added src/Happstack/Server/FileServe/Nix.hs but
never listed it in Exposed-modules, so cabal never actually compiled
it -- it shipped as dead code and CI never exercised it. This wires
it into the build and adds the ifNoneMatch function (Response.hs)
that it depends on for ETag-based conditional GETs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The GHC 9.14 CI job fails during dependency resolution: cabal picks
monad-control-1.0.0.2, which unconditionally imports
Control.Monad.Trans.List and Control.Monad.Trans.Error -- both
removed from transformers in the 0.6 series, which is what resolves
for this GHC/base combination. monad-control-1.0.3.1 guards those
same imports with #if !(MIN_VERSION_transformers(0,6,0)) and is
otherwise compatible with our existing bounds, so raising the floor
excludes the broken releases. Verified against a live Hackage index
(outside the nix package cache) that this now resolves
monad-control-1.0.3.1 instead of 1.0.0.2.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant