Replies: 2 comments
-
|
Do you mean exposing something like PR welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@srid yes. As I understand, you use I'd like to have this
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes, I need to write scripts that use Cabal and GHC with all necessary packages. At the same time, I don't want to run the script inside
nix developbecause I run it in CI and don't want to wait to get all dependencies from thedevShell.Example of the script:
https://github.com/deemp/lima/blob/3eb85c7099ffc46897181b7132666842c8aec8bf/flake.nix#L129-L135
The necessary GHC is present in the
haskellProjectsconfig. However, I can get this GHC and add it to the script dependencies only with a crutch:https://github.com/deemp/lima/blob/3eb85c7099ffc46897181b7132666842c8aec8bf/flake.nix#L118-L122
Therefore, I suggest to add
haskellProjects.ghcoption that will provide the GHC unlessdevShell.enable = false.Beta Was this translation helpful? Give feedback.
All reactions