Skip to content

Commit

Permalink
Add more tools to the Pact Nix developer shell (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley authored Apr 27, 2023
1 parent eba6fa1 commit ec9ff8e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?rev=4d2b37a84fad1091b9de401eb450aae66f1a741e";
# nixpkgs.follows = "haskellNix/nixpkgs-unstable";
haskellNix.url = "github:input-output-hk/haskell.nix";
flake-utils.url = "github:numtide/flake-utils";
};
Expand All @@ -28,6 +27,7 @@
compiler-nix-name = "ghc8107";
shell.tools = {
cabal = {};
haskell-language-server = {};
# hlint = {};
};
shell.buildInputs = with pkgs; [
Expand All @@ -41,5 +41,15 @@
];
in flake // {
packages.default = flake.packages."pact:exe:pact";

devShell = pkgs.haskellPackages.shellFor {
buildInputs = with pkgs.haskellPackages; [
cabal-install
haskell-language-server
# hlint
];

withHoogle = true;
};
});
}

0 comments on commit ec9ff8e

Please sign in to comment.