Permalink
Browse files

commandline: fix argument handling for ghc-7.2+ ('gtg' this time)

The build breakage on ghc-7.4 was introduced
in 'commit ba5f07d'

    [7 of 7] Compiling Main             ( Gtg/gtg.hs, dist/build/gtg/gtg-tmp/Main.o )
    Gtg/gtg.hs:21:13:
        Not in scope: `getArgs'
        Perhaps you meant `U.getArgs' (imported from System.Environment.UTF8)

Added missing 'System.Environment' import

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent 10eb21c commit a907e9fb1598997abbce3cacb2cd26ab10cc6b52 @trofi trofi committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Gtg/gtg.hs
View
1 Gtg/gtg.hs
@@ -9,6 +9,7 @@ import Graphics.UI.Gtk
import Graphics.UI.Gtk.Glade
import Paths_gt_tools(getDataDir)
import Data.List (elemIndex)
+import System.Environment.UTF8
import qualified System.Environment.UTF8 as U
comboIndex :: [String] -> String -> Int

0 comments on commit a907e9f

Please sign in to comment.