e5fa10b209
The use of superrecord here can be replaced by simple labelled tuples. Change-Id: I23690cd0b88896440521fe81e83347ef4773d4a0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7713 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
17 lines
340 B
Nix
17 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
|