tvl-depot/users/Profpatsch/cas-serve/default.nix
Profpatsch e5fa10b209 chore(users/Profpatsch/cas-serve): remove dependency on superrecord
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
2023-01-01 22:02:25 +00:00

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