about summary refs log tree commit diff
path: root/users/Profpatsch/cas-serve/default.nix
blob: b25a5ac04414ede2955721eddb978b7fb2a989c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ depot, pkgs, lib, ... }:

let
  cas-serve = pkgs.writers.writeHaskell "cas-serve"
    {
      libraries = [
        pkgs.haskellPackages.wai
        pkgs.haskellPackages.warp
        pkgs.haskellPackages.sqlite-simple
        pkgs.haskellPackages.superrecord
        depot.users.Profpatsch.my-prelude
      ];
      ghcArgs = [ "-threaded" ];

    } ./CasServe.hs;

in
cas-serve