From e4b146b0417762c461c7f90f587dc82e8524f796 Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Wed, 7 Sep 2016 16:40:53 -0400 Subject: [PATCH] haskell-hasktags: don't install the "test" binary Closes https://github.com/NixOS/nixpkgs/pull/18403. --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4a41836a5cf..1b02e464c3b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -994,4 +994,9 @@ self: super: { librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.gmp]; }); + # https://github.com/MarcWeber/hasktags/issues/32 + hasktags = overrideCabal super.hasktags (drv: { + postInstall = "rm $out/bin/test"; + }); + }