Skip to content

Commit 197c073

Browse files
committed
fix: buildFromSdist default for haskell-flake managed packages only
1 parent e43bc63 commit 197c073

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nix/modules/project/defaults.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ in
144144
# Disabling haddock and profiling is mainly to speed up Nix builds.
145145
haddock = lib.mkDefault false; # Because, this is end-user software. No need for library docs.
146146
libraryProfiling = lib.mkDefault false; # Avoid double-compilation.
147+
buildFromSdist = lib.mkDefault true; # Ensure release-worthiness
147148
};
148149
};
149150

@@ -193,9 +194,7 @@ in
193194
defaultText = ''
194195
Make sure all files we use are included in the sdist, as a check for release-worthiness.
195196
'';
196-
default = {
197-
buildFromSdist = lib.mkDefault true;
198-
};
197+
default = { };
199198
};
200199

201200
projectModules.output = mkOption {

0 commit comments

Comments
 (0)