@@ -30,8 +30,8 @@ let
3030 # packages.cbors.package.ghcOptions = "-Werror";
3131 # packages.cbors.patches = [ ./one.patch ];
3232 # packages.cbors.flags.optimize-gmp = false;
33− # It may be better to set flags in stack.yaml instead (overrides will
34− # be included for them automatically by `stack-to-nix`).
33+ # It may be better to set flags in stack.yaml instead
34+ # (`stack-to-nix` will include them as defaults).
3535 ];
3636 };
3737
@@ -44,12 +44,9 @@ let
4444 # example:
4545 # packages.cbors.package.ghcOptions = "-Werror";
4646 # packages.cbors.patches = [ ./one.patch ];
47− # To override a flag you will need to use mkOverride to make
48− # it clear that you wish to replace the value found in the
49− # `plan.json` file (all the flags values are included there
50− # by `cabal`).
51− # packages.cbors.flags.optimize-gmp = stdenv.lib.mkOverride 10 false;
52− # It may be better to set flags in `cabal.project` instead.
47+ # packages.cbors.flags.optimize-gmp = false;
48+ # It may be better to set flags in `cabal.project` instead
49+ # (`plan-to-nix` will include them as defaults).
5350 ];
5451 };
5552