summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorodanoburu <bcclaro@gmail.com>2018-08-11 22:44:45 -0300
committerodanoburu <bcclaro@gmail.com>2018-08-11 22:44:45 -0300
commit64ccc424cfa65e2e94f3d01dcc880e3dbde96968 (patch)
tree3af76fac1458f5aaf7f88fed1d78d93cd9885c44 /default.nix
parentdce81dc0eceed0bc40aedd6d7f164a80c3103224 (diff)
(#5) rm files from nix build
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/default.nix b/default.nix
deleted file mode 100644
index bfa85ab7c..000000000
--- a/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ mkDerivation, alex, array, base, bytestring, Cabal, cgi
-, containers, directory, exceptions, filepath, happy, haskeline
-, HTF, httpd-shed, HUnit, json, mtl, network, network-uri
-, old-locale, parallel, pretty, process, random, stdenv, terminfo
-, time, time-compat, unix, utf8-string
-}:
-mkDerivation {
- pname = "gf";
- version = "3.9";
- src = ./.;
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- array base bytestring cgi containers directory exceptions filepath
- haskeline httpd-shed json mtl network network-uri old-locale
- parallel pretty process random terminfo time time-compat unix
- utf8-string
- ];
- libraryToolDepends = [ alex happy ];
- executableHaskellDepends = [ base ];
- testHaskellDepends = [
- base Cabal directory filepath HTF HUnit process
- ];
- doCheck = false;
- postPatch = ''
- sed -i "s|\"-s\"|\"\"|" ./Setup.hs
- sed -i "s|numJobs (bf bi)++||" ./Setup.hs
- '';
- preBuild = ''export LD_LIBRARY_PATH=`pwd`/dist/build:$LD_LIBRARY_PATH'';
- homepage = "http://www.grammaticalframework.org/";
- description = "Grammatical Framework";
- license = "unknown";
-}