Skip to content

Commit

Permalink
Explicitly list testTargets
Browse files Browse the repository at this point in the history
`testTarget` is a space separated list of test-suites.

We explicitly list all test suites.
This allows us to implement logic in the nixpkgs builder to run test
suites in separate passthru.test derivations.
  • Loading branch information
TeofilC committed Apr 19, 2024
1 parent 89857ea commit 7e57521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal2nix/src/Distribution/Nixpkgs/Haskell/FromCabal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e57521

Please sign in to comment.