git.iko.soy/rowtype-yoga/purescm
on release/v1.1.0 help sign in
46 lines 1.3 kB history raw
1{
2 description = "Chez Scheme backend for PureScript";
4 inputs = {
5 nixpkgs.url =
6 "github:nixos/nixpkgs?rev=402cc3633cc60dfc50378197305c984518b30773";
8 flake-utils.url = "github:numtide/flake-utils";
10 flake-compat = {
11 url = "github:edolstra/flake-compat";
12 flake = false;
13 };
15 purescript-overlay.url = "github:f-f/purescript-overlay";
16 purescript-overlay.inputs.nixpkgs.follows = "nixpkgs";
17 };
19 outputs = { self, nixpkgs, flake-utils, purescript-overlay, ... }:
20 let supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
21 in flake-utils.lib.eachSystem supportedSystems (system:
22 let
23 overlays = [ purescript-overlay.overlays.default ];
24 pkgs = import nixpkgs {
25 inherit system overlays;
26 };
27 in
28 {
29 devShells = {
30 default = pkgs.mkShell {
31 name = "purescm";
32 packages = with pkgs; [
33 purescript-language-server
34 purs-backend-es
35 purs-bin.purs-0_15_10
36 purs-tidy
37 spago-unstable
38 nodejs-slim-16_x
39 chez-racket
40 esbuild
41 ];
42 };
43 };
44 formatter = pkgs.nixpkgs-fmt;
45 });