From cc6fd108d29b6415504a51bb7c09103abb4719c0 Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Thu, 5 Nov 2020 22:55:03 +1000 Subject: [PATCH] Quash cleaning component source warnings in nix-shell --- nix/haskell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/haskell.nix b/nix/haskell.nix index d24f1715ba4..aad07188202 100644 --- a/nix/haskell.nix +++ b/nix/haskell.nix @@ -272,6 +272,14 @@ let doHaddock = false; })) + # Silence some warnings about "cleaning component source not + # supported for hpack package" which appear in nix-shell + { + packages.cardano-addresses.cabal-generator = lib.mkForce null; + packages.cardano-addresses-cli.cabal-generator = lib.mkForce null; + packages.cardano-transactions.cabal-generator = lib.mkForce null; + } + # Allow installation of a newer version of Win32 than what is # included with GHC. The packages in this list are all those # installed with GHC, except for Win32.