Sridhar Ratnakumar

Results 814 comments of Sridhar Ratnakumar

> I think part of the problem is `deferredModule`, which only renders documentation if you use `deferredModuleWith { staticModules = ...; }`, but that's only usable if you have modules...

I think it is worth solving the more general problem here -- by allowing the user to pass any arguments (default being `{}`) to `callCabal2nix`. Perhaps like this: ```nix haskellProjects.default...

Alternatively, is it possible to make `callCabal2nix`'s drv re-evaluate only when the cabal file changes (less often), but not when the sources do (more often)?

Zulip discussion: https://nixos.zulipchat.com/#narrow/stream/413949-haskell-flake/topic/Removing.20IFD

I know @aravindgopall has mentioned it, but nobody else has given it a try yet. Feel free to drop by [our Zulip](https://nixos.zulipchat.com/#narrow/stream/413949-haskell-flake) if you want to discuss it with others....

cc @shivaraj-bh who is working on this.

> Perhaps this would belong in https://zero-to-flakes.com/gotchas It should be in haskell-flake docs itself ... possibly a `setup.md` under https://github.com/srid/haskell-flake/tree/master/doc/guide

I think what you want is: ```nix perSystem = { self', pkgs, ... }: { haskellProjects.default = { defaults.packages = {}; # Disable default packages packages = { myproject.source =...

The parser is indeed very primitive accepting only limited possible syntax. This would be a good-first-contribution to haskell-flake: https://github.com/srid/haskell-flake/tree/master/nix/haskell-parsers We use https://github.com/kanwren/nix-parsec under the hood.

@ParetoOptimalDev Could you move the dotenv part of your comment to [Discussions](https://github.com/srid/haskell-flake/discussions)? I'll comment there. EDIT: Or you can post in https://github.com/juspay/zero-to-flakes/discussions