about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-04-24 20:12:23 +0200
committerPeter Simons <simons@cryp.to>2016-04-24 20:13:27 +0200
commitcf4a69e2ec73c5abf5812e20a558bf45b9646e56 (patch)
tree47caa03482f19147524c14e6595ef825a967e572 /pkgs
parent9eb107dc52409c5f438402eadf48b5dcd64da6ac (diff)
downloadnixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar.gz
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar.bz2
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar.lz
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar.xz
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.tar.zst
nixlib-cf4a69e2ec73c5abf5812e20a558bf45b9646e56.zip
haskell-tinc: move the tool into the haskellPackages hierarchy like all other Haskell packages
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
-rw-r--r--pkgs/development/tools/haskell/tinc/default.nix (renamed from pkgs/development/tools/misc/tinc-haskell/default.nix)2
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 90cef5e92a04..ecae4cb8eb61 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1006,4 +1006,8 @@ self: super: {
   c2hs_0_27_1 = if pkgs.stdenv.isDarwin
                 then dontCheck super.c2hs_0_27_1
                 else super.c2hs_0_27_1;
+
+  # tinc is a new build driver a la Stack that's not yet available from Hackage.
+  tinc = self.callPackage ../tools/haskell/tinc {};
+
 }
diff --git a/pkgs/development/tools/misc/tinc-haskell/default.nix b/pkgs/development/tools/haskell/tinc/default.nix
index 4efdc909673d..44491fa0ef98 100644
--- a/pkgs/development/tools/misc/tinc-haskell/default.nix
+++ b/pkgs/development/tools/haskell/tinc/default.nix
@@ -6,7 +6,7 @@
 , ghc, cabal2nix, cabal-install, makeWrapper
 }:
 mkDerivation {
-  pname = "tinc-haskell";
+  pname = "tinc";
   version = "20160419";
   src = fetchFromGitHub {
     owner = "sol";
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 2ef9afe98ef8..f4de0702e2b1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6306,8 +6306,6 @@ in
 
   texi2html = callPackage ../development/tools/misc/texi2html { };
 
-  tinc-haskell = haskellPackages.callPackage ../development/tools/misc/tinc-haskell { };
-
   travis = callPackage ../development/tools/misc/travis { };
 
   tweak = callPackage ../applications/editors/tweak { };