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

ghc810: set projectRoot and expose it in flake #26

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ common:
common.inputs.haskell-flake.flakeModule
(import ./nix/treefmt.nix common)
./nix/haskell
# ./nix/ghc810.nix
./nix/ghc927.nix
./nix/pre-commit.nix
./nix/arion.nix
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
outputs = inputs: {
flakeModules = {
default = import ./flake-module.nix { inherit inputs; };
# ghc810 = ./nix/ghc810.nix;
ghc810 = ./nix/ghc810.nix;
ghc927 = ./nix/ghc927.nix;
};

Expand Down
1 change: 1 addition & 0 deletions nix/ghc810.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
perSystem = { pkgs, lib, config, ... }: {
haskellProjects.ghc810 = {
projectFlakeName = "nammayatri:common";
projectRoot = ../.;

# This is not a local project, so disable those options.
defaults.packages = { };
Expand Down