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

Add more tools to the Pact Nix developer shell #1206

Merged
merged 2 commits into from
Apr 27, 2023
Merged
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
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
];
rsoeldner marked this conversation as resolved.
Show resolved Hide resolved

withHoogle = true;
};
});
}