git.iko.soy/typeable/cabal2nix
on master help sign in
generate-cabal-file.hs: Revert "all executables depend on the cabal2nix library"

This reverts commit 9a0b83fc581fcd349e4718b0caeaf04aed4795cf. The change breaks my Nix builds.

commit560fb2b1d22f4c995a526529bb034bd183e85a31 authorPeter Simons <simons@cryp.to> dateTue 25 Aug 2015, 16:24 (11 years ago) parent1cc6394
1 file changed+2−2
generate-cabal-file.hs+2−2
generate-cabal-file.hs+2−2
@@ -93,10 +93,10 @@ commonTestOptions = buildDepends
9393 ] : commonBuildOptions
9494
9595mkExecutable :: NonEmptyString -> [ExecutableField] -> Section
96−mkExecutable exe opt = executable exe $ mainIs (exe++".hs") : buildDepends [unconstrained "cabal2nix"] : opt ++ commonBuildOptions
96+mkExecutable exe opt = executable exe $ mainIs (exe++".hs") : opt ++ commonBuildOptions
9797
9898mkTest :: NonEmptyString -> [TestSuiteField] -> Section
99−mkTest test opt = testSuite test $ exitcodeFields (test++".hs") ++ buildDepends [unconstrained "cabal2nix"] : opt ++ hsSourceDirs ["test"] : commonTestOptions
99+mkTest test opt = testSuite test $ exitcodeFields (test++".hs") ++ opt ++ hsSourceDirs ["test"] : commonTestOptions
100100
101101main :: IO ()
102102main = do