Re:Haskell IHP framework, from a technical and business pers...
by rgoulter on Thursday November 11, 2021 @10:22AM
(#29188779)
Although I see nix is required, it would be possible to run the ihp-new program with just nix installed, but without needing to change your PATH permanently. e.g. with a shell.nix file with contents:
Running nix-shell with this would download the ihp-new program, and you'd have access to it (and postgres, etc., when you run with a shell with direnv enabled), but outside of the nix-shell, your PATH and other things would be unaffected.
[ Parent
| on HN ]
Re:Haskell IHP framework, from a technical and business pers...
by _query on Thursday November 11, 2021 @10:27AM
(#29188866)
The ihp-new command is only a shell script that does a few checks and then git clones the project boilerplate:
https://github.com/digitallyinduced/ihp/blob/master/ProjectG...
The actual IHP project has it's own nix-shell environment, so that all project dependencies are managed locally (https://github.com/digitallyinduced/ihp-boilerplate/blob/mas...).