@@ -30,8 +30,8 @@ let
30 # packages.cbors.package.ghcOptions = "-Werror";
30 # packages.cbors.package.ghcOptions = "-Werror";
31 # packages.cbors.patches = [ ./one.patch ];
31 # packages.cbors.patches = [ ./one.patch ];
32 # packages.cbors.flags.optimize-gmp = false;
32 # packages.cbors.flags.optimize-gmp = false;
33− # It may be better to set flags in stack.yaml instead (overrides will
33+ # It may be better to set flags in stack.yaml instead
34− # be included for them automatically by `stack-to-nix`).
34+ # (`stack-to-nix` will include them as defaults).
@@ -44,12 +44,9 @@ let
44 # example:
44 # example:
45 # packages.cbors.package.ghcOptions = "-Werror";
45 # packages.cbors.package.ghcOptions = "-Werror";
46 # packages.cbors.patches = [ ./one.patch ];
46 # 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
51− # packages.cbors.flags.optimize-gmp = stdenv.lib.mkOverride 10 false;
47+ # packages.cbors.flags.optimize-gmp = false;
52− # It may be better to set flags in `cabal.project` instead.
48+ # It may be better to set flags in `cabal.project` instead
49+ # (`plan-to-nix` will include them as defaults).