Skip to content

Instantly share code, notes, and snippets.

@alebon
Created January 11, 2021 12:57
Show Gist options
  • Save alebon/c89878cb51730aab1a82a77125e576fd to your computer and use it in GitHub Desktop.
Save alebon/c89878cb51730aab1a82a77125e576fd to your computer and use it in GitHub Desktop.
{ mkDerivation, aeson, base, bytestring, http-types, lucid, mtl
, servant, servant-docs, servant-server, stdenv, text, wai
, wai-extra
}:
mkDerivation {
pname = "my-app";
version = "1.0.0.0";
src = ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring http-types lucid mtl servant servant-docs
servant-server text wai wai-extra
];
executableHaskellDepends = [ base servant-docs ];
testHaskellDepends = [ base ];
homepage = "https://myapp.com";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
doHaddock = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment