mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-29 16:55:12 +03:00
418ce19e02
- 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.
14 lines
316 B
Nix
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;
|
|
}
|