1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-26 14:43:53 +03:00
applied-fp-course/level02/level02.nix
Sean Chalmers 418ce19e02 Overhauled nix file setup to be more like the other QFPL projects.
- Regenerated the individual nix files.
- Removed the shell.nix files

Just running ``$ nix-build`` in levels greater than 2 currently
doesn't succeed, still working on this. The nix-shell environments
work as expected for all levels.
2017-09-18 10:14:29 +10:00

14 lines
316 B
Nix

{ mkDerivation, base, wai, warp, http-types, stdenv }:
mkDerivation {
pname = "level02";
version = "0.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base wai warp http-types
];
description = "Simplest of web apps";
license = stdenv.lib.licenses.bsd3;
}