Files
haskell.nix/modules
Hamish Mackenzie 4f449d37f5 Use nix module system to check project arguments (#1087)
* Use nix module system to check project arguments

This change uses the nix module system for the arguments to:

* `cabalProject'`
* `cabalProject`
* `stackProject'`
* `stackProject`

This will:

* Give an error when the name or type of an argument is incorrect
  (currently misnamed args are quietly ignored).

* Fixes a problem with `projectCross` not having a way to pass different args to `cabalProject`
  for different platforms. We can now use:
    `({pkgs, ...}: { cabalProjectLocal = if pkgs.stdenv.hostPlatform.isX then ... })`
2021-04-08 12:06:26 +12:00
..
2018-11-01 13:33:41 +08:00
2021-03-28 21:03:20 +13:00
2021-03-20 14:25:30 +13:00
2021-03-20 14:25:30 +13:00