Skip to content

Commit

Permalink
Log cabal.project parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jan 11, 2024
1 parent 8d82b72 commit e653563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/modules/project/defaults.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# A module representing the default values used internally by haskell-flake.
{ lib, pkgs, config, ... }:
{ name, lib, pkgs, config, ... }:
let
inherit (lib)
mkOption
Expand Down Expand Up @@ -46,6 +46,7 @@ in
};
localPackages = lib.pipe config.projectRoot [
haskell-parsers.findPackagesInCabalProject
(x: config.log.traceDebug "${name}.findPackagesInCabalProject = ${builtins.toJSON x}" x)
(lib.mapAttrs (_: path: {
# The rest of the module options are not defined, because we'll use
# the submodule defaults.
Expand Down

0 comments on commit e653563

Please sign in to comment.