Join GitHub today
System.Directory does not infer Safe on old GHC #30
It appears that directory no longer asserts that it is TRUSTWORTHY as of version 126.96.36.199. This is fine for GHC 7.10 where the module infers that it is Safe. Unfortunately this is not the case on older version of GHC. A TRUSTWORTHY pragma is still necessary for these older version.
Using GHC 7.8.4: