Skip to content

Commit 08bf47c

Browse files
committed
Update project option descriptions
1 parent 15bb1f2 commit 08bf47c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

modules/project-common.nix

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ with lib.types;
2929
default = pkgs.buildPackages.system;
3030
description = ''
3131
Specifies the system on which `cabal` and `nix-tools` should run.
32-
If not specified the `evalPackages` default will be used (builtins.currentSystem or
33-
the `buildPackages` system).
34-
This argument is useful when using pure flake evalution (where builtins.currentSystem does
35-
not exist) when there are no builders present for the some or all of the flakes supported
36-
systems (so `buildPackages` also fails).
32+
If not specified the `buildPackages` system will be used.
33+
If there are no builders for the `buildPackages` system
34+
specifying a system for which there are builders will
35+
allow the evaluation of the haskell project to work.
3736
'';
3837
};
3938
evalPackages = mkOption {
@@ -48,8 +47,11 @@ with lib.types;
4847
};
4948
description = ''
5049
Packages used to run `cabal` and `nix-tools`.
51-
This will default to `pkgs` or `pkgs.buildPackages` if
52-
they match the `evalSystem`. If not the default will be:
50+
This will default to `pkgs.buildPackages` if it
51+
matches the `evalSystem` (or if `evalSystem` was
52+
not specified).
53+
If a different `evalSystem` was requested, `evalPackages` will
54+
default to be:
5355
import pkgs.path {
5456
system = config.evalSystem;
5557
overlays = pkgs.overlays;

0 commit comments

Comments
 (0)