-
I may be setting it up incorrectly to begin with, but I'm importing a Haskell library (also set up using sred/haskell-flake) from git:
This works fine when I do a
This also means that HLS won't see it either. (For background, I'm experienced with F# and Debian but haven't touched Haskell since college and I'm new to Nix.) Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think you're looking for https://github.com/srid/haskell-flake/blob/master/doc/guide/modules.md#default-modules haskellProjects.default = {
imports = [
inputs.xmobar-prusalink.haskellFlakeProjectModules.output
];
#... |
Beta Was this translation helpful? Give feedback.
I think you're looking for https://github.com/srid/haskell-flake/blob/master/doc/guide/modules.md#default-modules
Make sure your own flake also imports
haskell-flake
and then add something like this toperSystem
: