Skip to content
Snippets Groups Projects
Hamish Mackenzie's avatar
hamishmack authored
From `Cabal/src/Distribution/Types/ParStrat.hs`

```
data ParStratX sem
  = -- | Compile in parallel with the given number of jobs (`-jN` or `-j`).
    NumJobs (Maybe Int)
  ...
```

However in `Cabal/src/Distribution/Simple/Program/GHC.hs` show is applied to the `Maybe Int` and we get errors like:

```
ghc-9.9.20230901: on the commandline: malformed integer argument in -jJust 4
```

This change should correct the behavior in `Simple/Program/GHC.hs` to match the comment in `Types/ParStrat.hs`.
37f67421
History
Name Last commit Last update