File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,10 @@ with lib.types;
29
29
default = pkgs . buildPackages . system ;
30
30
description = ''
31
31
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.
37
36
'' ;
38
37
} ;
39
38
evalPackages = mkOption {
@@ -48,8 +47,11 @@ with lib.types;
48
47
} ;
49
48
description = ''
50
49
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:
53
55
import pkgs.path {
54
56
system = config.evalSystem;
55
57
overlays = pkgs.overlays;
You can’t perform that action at this time.
0 commit comments