From 77cfb96fb177e3ba95104be0869c6f8315669769 Mon Sep 17 00:00:00 2001 From: Nicholas Clarke Date: Tue, 15 Aug 2017 15:08:34 +0100 Subject: [PATCH] Fix `hastache` build error. `hastache` has no binary output but for `mkReadme`, so disable the separate bin output and keep removing the `mkReadme`. --- pkgs/development/haskell-modules/configuration-common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5ab9ed11469..25054d65e29 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -862,6 +862,7 @@ self: super: { # Don't install internal mkReadme tool. hastache = overrideCabal super.hastache (drv: { doCheck = false; + enableSeparateBinOutput = false; postInstall = "rm $out/bin/mkReadme && rmdir $out/bin"; });