I run IHP on a mac with M1 processor so now that they're finally supported I'm getting an error when I try to update using the following command:
Command:
nix-shell --run 'make -B .envrc build/ihp-lib'
Error I'm getting
…
Hi! This might be mostly systemd related, but I'm trying to run IHP as a systemd service on a NixOS webserver, eventually on DigitalOcean for a service I am making.
Currently testing locally on my NixOS machine with a fresh IHP project.…
When I add imports to the Web.Component.Counter sample program some imports work and some do not. Imports that work include Text.Read and Data.Text. Imports that don't work include Data.Tuple.Curry and Text.XML.HXT.Arrow.Pickle. Depe…
Hello again!
I am looking for pointers on how to handle money/pricing.
Based on the stripe integration example, I represent the price of a Trip as an Integer, i.e the number of cents.
I still want the user to read and input a decimal number…
Hello everyone,
I am looking for a little help with the usage of validateFieldIO, as I am not used to the IO Monad yet.
My user creates a bill for one of his clients by selecting him in a form in the NewBill action.
The user is presented wi…
Hello,
Love hacking on IHP so far, but I am confused about the code formatting config I should use so it is consistent with formatted code, any recommendation?
Alternatively, I tried a heavy handed formatting of all haskell files of the boi…
It would be nice to have a way to inspect (and edit?) all routes. Perhaps also to design a set of routes and obtain the Actions for them...
Is there something like that already, or a plan to have it?
…
When using withCustomErrorMessageIO, it adds the custom error message to whatever error happens to be there... That is, if I do:
...
|> validateField #name nonEmpty
|> withCustomErrorMessageIO "Name is already taken"…
I was just trying out a new IHP Backend project based on the expo template. When I check out the templated project and run npm install I'm getting this error:
[nix-shell:~/pymodules/attics-mobile]$ npm install
npm ERR! code ERESOLVE
np…