Skip to content

Commit

Permalink
remove --root-cmd from the cabal options that ghcjs-boot uses
Browse files Browse the repository at this point in the history
The --root-cmd option has been dropped from Cabal 1.25 and it was only used
by ghcjs-boot to override any existing custom setting. Since we are now
pointing to our own cabal config file to start with a clean configuration,
it is not necessary anymore.
  • Loading branch information
luite committed Oct 18, 2016
1 parent 61c2406 commit e431e8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src-bin/Boot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,6 @@ cabalInstallFlags parmakeGhcjs = do
#endif
, bool prof "--enable-library-profiling" "--disable-library-profiling"
] ++
bool isWindows [] ["--root-cmd", toTextI (instDir </> "run" <.> "sh")] ++
-- workaround for Cabal bug?
bool isWindows ["--disable-executable-stripping", "--disable-library-stripping"] [] ++
catMaybes [ (((bool parmakeGhcjs "--ghcjs-options=-j" "-j")<>) . showT) <$> j
Expand Down

0 comments on commit e431e8c

Please sign in to comment.