packages feed

shake-ext 1.2.0.1 → 1.2.0.2

raw patch · 2 files changed

+3/−3 lines, 2 files

Files

shake-ext.cabal view
@@ -1,5 +1,5 @@ name:                shake-ext-version:             1.2.0.1+version:             1.2.0.2 synopsis:            Helper functions for linting with shake  description:         This package provides several linters out of the box, as well as functionality for building ATS source files with [shake](http://shakebuild.com/). homepage:            https://hub.darcs.net/vmchale/shake-ext
src/Development/Shake/ATS.hs view
@@ -68,10 +68,10 @@         need sources         copySources v v' sources         cmd_ ["mkdir", "-p", dropDirectory1 out]-+        path <- fromMaybe "" <$> getEnv "PATH"         let toLibs = fmap ("-l" <>)         command-            [EchoStderr False, AddEnv "PATSHOME" home]+            [EchoStderr False, AddEnv "PATSHOME" home, AddEnv "PATH" (home ++ ":" ++ path)]             (home ++ "/bin/patscc")             ([sourceFile, "-atsccomp", "gcc -flto -I" ++ h ++ "/ccomp/runtime/ -I" ++ h, gcFlag gc, "-o", out, "-cleanaft", "-O2", "-mtune=native", "-flto"] <> toLibs libs)