Correctly reverse package-db argument order (fixes #1057)
This commit is contained in:
parent
0fcbbb7951
commit
ce456d48c7
@ -1,3 +1,7 @@
|
||||
## 1.4.14
|
||||
|
||||
* Fix order of -package-db arguments to runghc [#1057](https://github.com/yesodweb/yesod/issues/1057)
|
||||
|
||||
## 1.4.13
|
||||
|
||||
* Enable stack with yesod keter [#1041](https://github.com/yesodweb/yesod/pull/1041)
|
||||
|
||||
@ -88,7 +88,7 @@ getPackageArgs buildDir argv2 = do
|
||||
hideAll | gopt DF.Opt_HideAllPackages dflags1 = [ "-hide-all-packages"]
|
||||
| otherwise = []
|
||||
ownPkg = packageString (DF.thisPackage dflags1)
|
||||
return (extra dflags1 ++ hideAll ++ pkgFlags ++ [ownPkg])
|
||||
return (reverse (extra dflags1) ++ hideAll ++ pkgFlags ++ [ownPkg])
|
||||
where
|
||||
#if __GLASGOW_HASKELL__ >= 710
|
||||
convertPkgFlag (DF.ExposePackage (DF.PackageArg p) _) = "-package" ++ p
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-bin
|
||||
version: 1.4.13.3
|
||||
version: 1.4.14
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user