mirror of
https://github.com/snoyberg/keter.git
synced 2024-11-30 20:35:57 +03:00
35d8fa4786
This prevents a DoS attack by using a head followed by a post. There is a test to confirm this on keter as well. This includes several internal changes as well, such as Getting rid of HMState alias, and remove perform action & adjustbound from withclient where block chop up the withclient function to make it easier to understand, alsom makes the flow of bound values more explicit in type signatures.
17 lines
382 B
Nix
17 lines
382 B
Nix
{ pkgs ? import ./nix/pkgs.nix, ... }:
|
|
pkgs.haskellPackages.shellFor {
|
|
packages = ps : [ ps.keter ];
|
|
# this is to build the examples from incoming
|
|
extraDependencies = ps: {
|
|
libraryHaskellDepends = [
|
|
ps.yesod-websockets
|
|
ps.yesod-core
|
|
ps.stm-lifted
|
|
];
|
|
};
|
|
buildInputs = [
|
|
pkgs.cabal-install
|
|
pkgs.haskellPackages.hasktags
|
|
];
|
|
}
|