diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1970efca80c3..66340a8b2c1c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1331,7 +1331,7 @@ self: super: { monad-dijkstra = dontCheck (doJailbreak super.monad-dijkstra); libsodium = overrideCabal super.libsodium (drv: { - libraryToolDepends = drv.libraryToolDepends or [self.c2hs]; + libraryToolDepends = (drv.libraryToolDepends or []) ++ [self.c2hs]; }); # https://github.com/kowainik/policeman/issues/57