Skip to content

Commit

Permalink
Add a flake file to set the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Nov 11, 2023
1 parent 5122ff1 commit a96b664
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 0 deletions.
98 changes: 98 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/23.05";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
streamly = {
url =
"github:composewell/streamly/0ed37ff344c122288e8b4865458908398e45789b";
flake = false;
};
};
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.systems.flakeExposed;
imports = [ inputs.haskell-flake.flakeModule ];

perSystem = { self', pkgs, ... }: {
haskellProjects.default = {
packages = {
streamly-core.source = "${inputs.streamly}/core";
};
devShell = { hlsCheck.enable = false; };
};
};
};
}

0 comments on commit a96b664

Please sign in to comment.