18 lines
340 B
Nix
18 lines
340 B
Nix
|
{ 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
|