Hello,
if I try to use File.mode
in my config.hs
, I do not have access to modes
defined in Utility.FileMode
and System.Posix.Files
. Is that intended? Is
there a way to do it appart from changing propellor.cabal
?
Thanks!
Hello,
if I try to use File.mode
in my config.hs
, I do not have access to modes
defined in Utility.FileMode
and System.Posix.Files
. Is that intended? Is
there a way to do it appart from changing propellor.cabal
?
Thanks!
Yes, you'll need to add a dependency on
unix
to get access to that.This does seem like an oversight, so I made Propellor.Utilities re-export it. But, I think I'd personally choose the dependency on
unix
instead of relying on that module, which does not guarantee any API stability.