mirror of
https://github.com/infinisil/all-hies.git
synced 2024-11-25 20:43:24 +03:00
Actually update HIE submodules when checking out the git version..
Damn git submodules
This commit is contained in:
parent
66ff11a117
commit
853dd3ad96
@ -208,6 +208,7 @@ regenerate root revision = do
|
||||
liftIO $ putStrLn $ "Writing " ++ revName ++ " to " ++ root ++ "stack2nix/revision"
|
||||
liftIO $ writeFile (root </> "stack2nix/revision") revName
|
||||
git hie [ "checkout", hash ]
|
||||
git hie [ "submodule", "update", "--recursive" ]
|
||||
files <- repoPath hie >>= liftIO . listDirectory
|
||||
let versions = mapMaybe (stackPathRegex `match`) files
|
||||
liftIO $ putStrLn $ "HIE " ++ revName ++ " has ghc versions " ++ intercalate ", " (map show versions)
|
||||
|
Loading…
Reference in New Issue
Block a user