diff --git a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs index 7f278b593..b8317cd56 100644 --- a/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs +++ b/cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs @@ -112,7 +112,7 @@ fromPackageDescription haskellResolver nixpkgsResolver missingDeps flags Package & jailbreak .~ False & doCheck .~ True & doBenchmark .~ False - & testTarget .~ mempty + & testTarget .~ unwords (map (unUnqualComponentName . testName) testSuites) & hyperlinkSource .~ True & enableSplitObjs .~ True & enableLibraryProfiling .~ False