File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 131
131
else { } ;
132
132
133
133
defaultText = ''
134
- Speed up builds by disabling haddock and library profiling.
134
+ Speed up builds by disabling haddock and library profiling. Also ensures
135
+ release-worthiness.
135
136
136
137
This uses `local.toDefinedProject` option to determine which packages to
137
138
override. Thus, it applies to both local packages as well as
144
145
# Disabling haddock and profiling is mainly to speed up Nix builds.
145
146
haddock = lib . mkDefault false ; # Because, this is end-user software. No need for library docs.
146
147
libraryProfiling = lib . mkDefault false ; # Avoid double-compilation.
148
+ buildFromSdist = lib . mkDefault true ; # Ensure release-worthiness
147
149
} ;
148
150
} ;
149
151
191
193
}
192
194
else { } ;
193
195
defaultText = ''
194
- Make sure all files we use are included in the sdist, as a check for release-worthiness .
196
+ Nothing is changed by default .
195
197
'' ;
196
- default = {
197
- buildFromSdist = lib . mkDefault true ;
198
- } ;
198
+ default = { } ;
199
199
} ;
200
200
201
201
projectModules . output = mkOption {
You can’t perform that action at this time.
0 commit comments