Return 400 status for invalid hashes

This commit is contained in:
Gabriella Gonzalez
2022-06-30 13:28:50 -07:00
parent 87daaac881
commit 7f1251cc47
3 changed files with 39 additions and 7 deletions

View File

@@ -1,16 +1,16 @@
{ mkDerivation, base, base16, base32, bsd-sysctl, bytestring
, http-types, lib, managed, megaparsec, mtl, network, nixstore
, nixutil, optparse-applicative, vector, wai, wai-extra, warp
, warp-tls
, charset, http-types, lib, managed, megaparsec, mtl, network
, nixstore, nixutil, optparse-applicative, vector, wai, wai-extra
, warp, warp-tls
}:
mkDerivation {
pname = "nix-serve-ng";
version = "1.0.0";
src = ./.;
src = ./..;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base base16 base32 bsd-sysctl bytestring http-types managed
base base16 base32 bsd-sysctl bytestring charset http-types managed
megaparsec mtl network optparse-applicative vector wai wai-extra
warp warp-tls
];