Skip to content

Instantly share code, notes, and snippets.

@expipiplus1
Created April 2, 2020 11:37
Show Gist options
  • Save expipiplus1/4ebbfeb4f951641c81a4c89683d8d385 to your computer and use it in GitHub Desktop.
Save expipiplus1/4ebbfeb4f951641c81a4c89683d8d385 to your computer and use it in GitHub Desktop.
let
haskellNix = import (builtins.fetchTarball
"https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz") { };
nixpkgsSrc = <nixpkgs>;
nixpkgsArgs = haskellNix.nixpkgsArgs;
in { pkgs ? import nixpkgsSrc nixpkgsArgs }:
pkgs.haskell-nix.stackProject {
src = pkgs.haskell-nix.haskellLib.cleanGit { src = ./.; };
stackYaml = "stack-8.8.2.yaml";
modules = [
{ packages.haskell-lsp.doHaddock = false; }
{
nonReinstallablePkgs = [
"rts"
"ghc-heap"
"ghc-prim"
"integer-gmp"
"integer-simple"
"base"
"deepseq"
"array"
"ghc-boot-th"
"pretty"
"template-haskell"
"ghcjs-prim"
"ghcjs-th"
"ghc-boot"
"ghc"
"Cabal"
"Win32"
"array"
"binary"
"bytestring"
"containers"
"directory"
"filepath"
"ghc-boot"
"ghc-compact"
"ghc-prim"
"ghci"
"haskeline"
"hpc"
"mtl"
"parsec"
"process"
"text"
"time"
"transformers"
"unix"
"xhtml"
"stm"
"terminfo"
];
}
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment