purescript-httpurple/shell.nix
2019-05-20 23:49:57 -07:00

22 lines
440 B
Nix

{
purescript ? "0.12.4",
nixjs ? fetchTarball "https://github.com/cprussin/nixjs/tarball/release-19.03",
nixpkgs ? <nixpkgs>
}:
let
nixjs-overlay = import nixjs { inherit purescript; };
pkgs = import nixpkgs { overlays = [ nixjs-overlay ]; };
in
pkgs.mkShell {
buildInputs = [
pkgs.git
pkgs.nodejs
pkgs.yarn
pkgs.purescript
pkgs.psc-package
];
shellHook = "export PATH=$PATH:$PWD/node_modules/.bin";
}