about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-08-17 11:39:11 +0200
committerPeter Simons <simons@cryp.to>2013-08-17 11:39:11 +0200
commit588c8e062ce609f5c16b7b31f50d1808a4f0f9c8 (patch)
tree776ac218b1e136d3bb696e7b046015cfd8510a43 /pkgs/tools/typesetting
parentdc7c1bc04206b83c1e79c068bb3622b894a1935f (diff)
downloadnixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar.gz
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar.bz2
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar.lz
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar.xz
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.tar.zst
nixlib-588c8e062ce609f5c16b7b31f50d1808a4f0f9c8.zip
haskell-lhs2tex: re-generate expression with recent version of cabal2nix
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/lhs2tex/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/typesetting/lhs2tex/default.nix b/pkgs/tools/typesetting/lhs2tex/default.nix
index 2b96ae526c40..ec1c9021522f 100644
--- a/pkgs/tools/typesetting/lhs2tex/default.nix
+++ b/pkgs/tools/typesetting/lhs2tex/default.nix
@@ -1,18 +1,18 @@
-{cabal, texLive, regexCompat}:
+{ cabal, filepath, mtl, regexCompat, texLive }:
 
 cabal.mkDerivation (self: {
   pname = "lhs2tex";
   version = "1.18.1";
-  name = self.fname;
   sha256 = "0j4n7vkabsggn94gbwixy1vmckdck2nggdiqvk6n9nx164if5jnw";
-  extraBuildInputs = [regexCompat texLive];
-
+  isLibrary = false;
+  isExecutable = true;
+  buildDepends = [ filepath mtl regexCompat ];
+  extraLibraries = [ texLive ];
   postInstall = ''
     mkdir -p "$out/share/doc/$name"
     cp doc/Guide2.pdf $out/share/doc/$name
     mkdir -p "$out/nix-support"
   '';
-
   meta = {
     homepage = "http://www.andres-loeh.de/lhs2tex/";
     description = "Preprocessor for typesetting Haskell sources with LaTeX";