title: Is it possible to keep the test suite logs generated by Cabal when run through nix-build?
body: <p>I have a .cabal file specifying a test suite, and a default.nix file generated with <code>cabal2nix</code>.</p>
  
  <p>Then I have a release.nix file (containing something like <code>pkgs.haskell.packages.ghc802.callPackage ./default.nix {})</code> that I can <code>nix-build</code>.</p>
  
  <p>It works: I have a result symlink with my program.</p>
  
  <p>While compiling my program with <code>nix-build</code>, I see in the output this line: <code>Test suite logged to: dist/test/myprogram-0.0.0-test-suite.log</code> (I guess produced indirectly by <code>cabal test</code>), but the file seems to be discarded.</p>
  
  <p>Is it possible to keep around that log file (possibly within the directory pointed to by the result symlink) ?</p>