From adbb6de170e6a3215b461798e5cfdd823bd01e45 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 24 Feb 2015 21:54:52 +0100 Subject: use haskell-ng --- cgserver.nix | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'cgserver.nix') diff --git a/cgserver.nix b/cgserver.nix index bd8d12b..28c4b16 100644 --- a/cgserver.nix +++ b/cgserver.nix @@ -1,21 +1,16 @@ -# This file was auto-generated by cabal2nix. Please do NOT edit manually! - -{ cabal, aeson, attoparsec, filepath, httpTypes, ioStreams, safe -, text, wai, waiExtra, warp +{ mkDerivation, aeson, attoparsec, base, bytestring, containers +, directory, filepath, http-types, io-streams, safe, stdenv, text +, wai, wai-extra, warp }: - -cabal.mkDerivation (self: { +mkDerivation { pname = "cgserver"; version = "0.1.0.0"; src = ./.; isLibrary = false; isExecutable = true; buildDepends = [ - aeson attoparsec filepath httpTypes ioStreams safe text wai - waiExtra warp + aeson attoparsec base bytestring containers directory filepath + http-types io-streams safe text wai wai-extra warp ]; - meta = { - license = self.stdenv.lib.licenses.bsd3; - platforms = self.ghc.meta.platforms; - }; -}) + license = stdenv.lib.licenses.bsd3; +} -- cgit v1.2.3