You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/faq.md
+13-15Lines changed: 13 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -294,27 +294,25 @@ These are written to `*.dump-*` files inside the package's `.stack-work` directo
294
294
295
295
#### Why is DYLD_LIBRARY_PATH ignored?
296
296
297
-
<a name="disable-rootless"></a><a name="dyld-library-path-ignored"></a>If you
298
-
are on Mac OS X 10.11 ("El Capitan") or later, System Integrity Protection
299
-
(a.k.a. "rootless")
300
-
[prevents the `DYLD_LIBRARY_PATH` environment variable from being passed to sub-processes](https://github.com/commercialhaskell/stack/issues/1161).
301
-
The only workaround we are aware of is
302
-
[disabling System Integrity Protection](http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/):
297
+
<a name="dyld-library-path-ignored"></a>If you
298
+
are on Mac OS X 10.11 ("El Capitan") or later, there are upstream issues which
299
+
[prevents the `DYLD_LIBRARY_PATH` environment variable from being passed to GHC](https://github.com/commercialhaskell/stack/issues/1161)
300
+
when System Integrity Protection (a.k.a. "rootless") is enabled. The only
301
+
workaround we are aware of is
302
+
[disabling System Integrity Protection](http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/).
303
303
304
-
1. Reboot into recovery mode (hold down Cmd-R at boot)
305
-
2. Open a terminal (select __Terminal__ from the __Utilities__ menu)
306
-
3. Run `csrutil disable; reboot`
307
-
308
-
Note that this reduces the security of your system.
304
+
**WARNING: Disabling SIP will severely reduce the security of your system, so only do this if absolutely necessary!**
309
305
310
306
#### Why do I get a `/usr/bin/ar: permission denied` error?
311
307
312
-
<a name="usr-bin-ar-permission-denied"></a>On OS X 10.11 ("El Capitan") and
313
-
later, this is
314
-
[caused by System Integrity Protection (a.k.a. "rootless")](https://github.com/commercialhaskell/stack/issues/563).
308
+
<a name="usr-bin-ar-permission-denied"></a>If you are on OS X 10.11 ("El Capitan") or
309
+
later, GHC 7.8.4 is
310
+
[incompatible with System Integrity Protection (a.k.a. "rootless")](https://github.com/commercialhaskell/stack/issues/563).
315
311
GHC 7.10.2 includes a fix, so this only effects users of GHC 7.8.4. If you
316
312
cannot upgrade to GHC 7.10.2, you can work around it by
317
-
[disabling System Integrity Protection](#disable-rootless)
313
+
[disabling System Integrity Protection](http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/).
314
+
315
+
**WARNING: Disabling SIP will severely reduce the security of your system, so only do this if absolutely necessary!**
318
316
319
317
#### Why is the `--` argument separator ignored in Windows PowerShell
0 commit comments