git.iko.soy/rowtype-yoga/purescm
on bytevector help sign in
rowtype-yoga/purescm/legacy/stack-shell.nix
31 lines 631 B history raw
1#!/usr/bin/env nix-shell
3# Taken from:
4# https://docs.haskellstack.org/en/stable/nix_integration/#using-a-custom-shellnix-file
6{ pkgs ? import <nixpkgs> {}
7, ghc }:
9let
10 easy-ps = import
11 (pkgs.fetchFromGitHub {
12 owner = "justinwoo";
13 repo = "easy-purescript-nix";
14 rev = "5716cd791c999b3246b4fe173276b42c50afdd8d";
15 sha256 = "1r9lx4xhr42znmwb2x2pzah920klbjbjcivp2f0pnka7djvd2adq";
16 }) {
17 inherit pkgs;
18 };
19in
21pkgs.haskell.lib.buildStackProject {
22 inherit ghc;
23 name = "purescm-stack";
24 buildInputs = [
25 pkgs.zlib
26 pkgs.git
27 easy-ps.purs-0_14_4
28 easy-ps.spago
29 pkgs.chez
30 ];