Skip to content

Instantly share code, notes, and snippets.

@codygman
Last active October 5, 2020 17:45
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 codygman/5275cc45df9b9803e6da0f93953c1ddb to your computer and use it in GitHub Desktop.
Save codygman/5275cc45df9b9803e6da0f93953c1ddb to your computer and use it in GitHub Desktop.
{...}:
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
hls = import sources.hls-nix;
hsPkgs = import ./default.nix {};
in
hsPkgs.shellFor {
packages = ps: with ps; [
smurf
];
withHoogle = true;
tools = { cabal = "3.2.0.0"; hlint = "2.2.11"; brittany = "0.12.1.1"; };
# Some you may need to get some other way.
buildInputs = with pkgs.haskellPackages;
[ autoexporter
(callHackageDirect { pkg = "servant-serf"; ver="0.0.3"; sha256="09hrj5rvrcj2nz654gnydz7izw2981wvv1iw6f7gwcncizc0ri4q"; } {})
# error
# Setup: Encountered missing or private dependencies:
# hpack >=0.34.2, tomland >=1.3.1.0
hspec-discover
stack
ghcid
pkgs.postgresql
];
exactDeps = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment