Skip to content

Commit

Permalink
fix: buildFromSdist default for haskell-flake managed packages only
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Apr 22, 2024
1 parent e43bc63 commit 197c073
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nix/modules/project/defaults.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ in
# Disabling haddock and profiling is mainly to speed up Nix builds.
haddock = lib.mkDefault false; # Because, this is end-user software. No need for library docs.
libraryProfiling = lib.mkDefault false; # Avoid double-compilation.
buildFromSdist = lib.mkDefault true; # Ensure release-worthiness
};
};

Expand Down Expand Up @@ -193,9 +194,7 @@ in
defaultText = ''
Make sure all files we use are included in the sdist, as a check for release-worthiness.
'';
default = {
buildFromSdist = lib.mkDefault true;
};
default = { };
};

projectModules.output = mkOption {
Expand Down

0 comments on commit 197c073

Please sign in to comment.