GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T19:13:40Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/1407Add the ability to :set -l{foo} in .ghci files2019-07-07T19:13:40ZguestAdd the ability to :set -l{foo} in .ghci filesCurrently it appears that library flags like -lidn can only be passed on the command line of ghci, but it would be convenient (and more consistent) to be have to have them able to work from the .ghci file. Attempts to do so are silently ...Currently it appears that library flags like -lidn can only be passed on the command line of ghci, but it would be convenient (and more consistent) to be have to have them able to work from the .ghci file. Attempts to do so are silently ignored in both 6.4.2 and 6.6.
The only other place it would make sense to pass it would be as something like OPTIONS_GHC, but that results in "unknown flags in {-\# OPTIONS \#-} pragma: -lidn" in 6.4.2 and appears to be silently ignored in 6.6.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | -------------- |
| Version | 6.6.1 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |
</details>
<!-- {"blocked_by":[],"summary":"Add the ability to :set -l{foo} in .ghci files","status":"New","operating_system":"Unknown","component":"GHCi","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"6.6.1","keywords":[],"differentials":[],"test_case":"","architecture":"Unknown","cc":[""],"type":"FeatureRequest","description":"Currently it appears that library flags like -lidn can only be passed on the command line of ghci, but it would be convenient (and more consistent) to be have to have them able to work from the .ghci file. Attempts to do so are silently ignored in both 6.4.2 and 6.6.\r\n\r\nThe only other place it would make sense to pass it would be as something like OPTIONS_GHC, but that results in \"unknown flags in {-# OPTIONS #-} pragma: -lidn\" in 6.4.2 and appears to be silently ignored in 6.6.","type_of_failure":"OtherFailure","blocking":[]} -->7.10.3archblobarchblob