-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
bugSomething isn't workingSomething isn't workingcase for testsThings we must automate testing ofThings we must automate testing of
Description
I am trying to disable a Cabal flag through settings, and looking at the source, I have come up with the following:
settings = {
diagrams-builder = {
cabalFlags = {
ps = false;
};
};
};
However, this results in the following error:
error: A definition for option `impl.cabalFlags."[definition 1-entry 1]".<function body>' is not of type `package'. Definition values:
- In `/nix/store/gw0j9icfkbqmyis1x3v16mpmp250wvn9-source/nix/modules/project/settings/all.nix': <function>
(use '--show-trace' to show detailed location information)
What I essentially want is to have a haskell-flake-equivalent of diagrams-builder = disableCabalFlag "ps" super.diagrams-builder. What is the proper way to use the cabalFlags option?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcase for testsThings we must automate testing ofThings we must automate testing of