File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import Development.Shake.FilePath ( (</>)
33
33
, exe
34
34
, splitDirectories
35
35
)
36
+ import Numeric (showHex )
36
37
import Options.Applicative ( Parser
37
38
, (<**>)
38
39
, (<|>)
@@ -681,15 +682,15 @@ makeBuildPrefix compiler flags = do
681
682
-- Probably version, and make sure to not include path to the compiler
682
683
versionInfo <- readProcess compiler [" --version" ] []
683
684
let compilerName = last (splitDirectories compiler)
684
- let versionHash = hash versionInfo
685
- let flagsHash = hash flags
685
+ let versionHash = abs ( hash versionInfo)
686
+ let flagsHash = abs ( hash flags)
686
687
return
687
688
$ " build"
688
689
</> compilerName
689
690
++ " _"
690
- ++ show versionHash
691
+ ++ showHex versionHash " "
691
692
++ " _"
692
- ++ show flagsHash
693
+ ++ showHex flagsHash " "
693
694
694
695
{-
695
696
Fetching the dependencies is done on a sort of breadth first approach. All
You can’t perform that action at this time.
0 commit comments