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

[draft]: nix refactoring & ci changes #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkachmar
Copy link
Member

@jkachmar jkachmar commented Dec 2, 2022

TODO

  • refactor flake.nix to more easily build cofree-bot under multiple GHC versions
    • looks like
  • use Nix more extensively in CI
    • make sure this stuff caches well, probably worth setting up cachix integration if there isn't anything already available
    • use Nix for ormolu linting (maybe reuse this script)
    • use Nix to build the full matrix of supported GHC versions

Description

WIP branch, i think that what i have here is more a proof-of-concept that things can be cleaned up a bit.

Comment on lines 61 to 64
docker = import ./nix/docker.nix {
inherit pkgs;
cofree-bot = hsPkgs.cofree-bot;
cofree-bot = pkgs.haskell.packages.${compiler}.cofree-bot;
};
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably doesn't make sense to have this under eachDefaultSystem since the docker stuff very likely only works on Linux systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant