/usr/lib/haskell-packages/ghc/ is in libghc-xdg-basedir-prof 0.2.2-8build1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/haskell-packages/ghc/lib/
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/System//
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/System/Environment//
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/System/Environment/XDG//
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/System/Environment/XDG/BaseDir.p_hi
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/xdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil/libHSxdg-basedir-0.2.2-G1R0zNCFit6DIeGbPXzNil_p.a