git.iko.soy/rowtype-yoga/purescm
on bytevector help sign in
30 lines 620 B history raw
1#!/usr/bin/env nix-shell
3let
4 pkgs = import (builtins.fetchTarball {
5 url = "https://github.com/NixOS/nixpkgs/archive/21.05.tar.gz";
6 }) {};
8 easy-ps = import
9 (pkgs.fetchFromGitHub {
10 owner = "justinwoo";
11 repo = "easy-purescript-nix";
12 rev = "5716cd791c999b3246b4fe173276b42c50afdd8d";
13 sha256 = "1r9lx4xhr42znmwb2x2pzah920klbjbjcivp2f0pnka7djvd2adq";
14 }) {
15 inherit pkgs;
16 };
17in
18pkgs.mkShell {
19 name="purescm";
20 buildInputs = [
21 pkgs.stack
22 easy-ps.purs-0_14_4
23 easy-ps.spago
24 pkgs.python39
25 pkgs.chez
26 ];
27 shellHook = ''
28 alias stack='stack --nix'
29 '';