Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created January 2, 2018 20:30
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 codedmart/8577b1524ee8e3d8b810bb93a2ed91a2 to your computer and use it in GitHub Desktop.
Save codedmart/8577b1524ee8e3d8b810bb93a2ed91a2 to your computer and use it in GitHub Desktop.
{ compiler ? "ghc802" }:
let
pkgs = import <nixpkgs> {};
ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [
purescript psc-package
]);
stdenv = pkgs.stdenv;
inputs = [
ghc
# pkgs.purescript
# pkgs.psc-package
];
in rec {
devEnv = stdenv.mkDerivation rec {
name = "dev-env";
buildInputs = inputs;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment