Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move iogx project name to module args #261

Open
github-actions bot opened this issue Jan 4, 2024 · 0 comments
Open

move iogx project name to module args #261

github-actions bot opened this issue Jan 4, 2024 · 0 comments
Labels
help wanted Extra attention is needed todo

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2024

as soon input-output-hk/haskell-nix has cached it

# TODO move iogx project name to module args

{ repoRoot, pkgs, lib, ... }:
let
  # TODO move iogx project name to module args
  name = "iogx";
in
lib.iogx.mkHaskellProject {
  cabalProject = pkgs.haskell-nix.cabalProject'
    {
      inherit name;
      src = ../.;
      # `compiler-nix-name` upgrade policy:
      #  as soon input-output-hk/haskell-nix has cached it
      # TODO ghc98 not available on iogx
      compiler-nix-name = lib.mkDefault "ghc96";
    };
  shellArgs = _: {
    name = "${name}-shell";
    scripts.docs = {
      group = "general";
      description = "Open haddock documentation.";
      exec = "npx http-server ${repoRoot.nix.project.combined-haddock}/share/doc -o";
    };
  };
}
@github-actions github-actions bot added help wanted Extra attention is needed todo labels Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed todo
Projects
None yet
Development

No branches or pull requests

0 participants