Skip to content

Commit

Permalink
Use patched version of package wai.
Browse files Browse the repository at this point in the history
Fixes:
https://buildkite.com/cardano-foundation/cardano-wallet/builds/5240#01900a67-445e-447e-b1bd-976ebaf665c1/39-41

Error:
```
> Network/Wai/Application/Static.hs:260:27: error: [GHC-87897]
>     • Exception when trying to run compile-time code:
>         Z:\build\wai-app-static-3.1.9\images/folder.png: withBinaryFile: invalid argument (Bad file descriptor)
>       Code: (makeRelativeToProject "images/folder.png" >>= embedFile)
>     • In the untyped splice:
>         $(makeRelativeToProject "images/folder.png" >>= embedFile)
>     |
> 260 |             L.fromChunks [$(makeRelativeToProject "images/folder.png" >>= embedFile)]
>     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
  • Loading branch information
jonathanknowles committed Jun 14, 2024
1 parent 7f07e26 commit 8696885
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ source-repository-package

--------------------------------------------------------------------------------

source-repository-package
type: git
location: https://github.com/jonathanknowles/wai.git
tag: 5ad3d1a5d472f398ded8817b0befc221a7a84cef
--sha256: 1nlbsqar46i9yzl8j5i8wwmya34n82b9zcnik27q3n43rxnvi1ri
subdir: wai-app-static

source-repository-package
type: git
location: https://github.com/paolino/int-cast.git
Expand Down

0 comments on commit 8696885

Please sign in to comment.