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

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

    } ./CasServe.hs;

in
cas-serve