Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created November 25, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/b83b6434ef6fbd97ed9715cc2a4aaa20 to your computer and use it in GitHub Desktop.
Save LnL7/b83b6434ef6fbd97ed9715cc2a4aaa20 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
haskellPackages = pkgs.haskell.packages.ghc862.override {
extension = self: super: {
cabal = pkgs.haskell.packages.ghc862.cabalNoTest;
};
};
};
in
haskellPackages.ghcWithPackages (ps: with ps;[
type-fun
rank1dynamic
distributed-process
distributed-static
network-transport
network-transport-tcp
binary
])
@anka-213
Copy link

anka-213 commented Dec 5, 2018

There is an extra closing brace on line 8, which causes syntax error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment