split out setEnv to avoid adding dep

Windows needs the setenv package in custom-setup, but I don't want to
pull it in on unix, which would probably break some builds and need more
work. Instead, split out setEnv to a separate module.

Quite likely, unix-compat will get a portable environment layer, and
then both modules can be removed from here.

This commit was sponsored by Øyvind Andersen Holm.
This commit is contained in:
Joey Hess 2017-11-14 14:25:46 -04:00
parent ea12fb38f4
commit 8d68112be5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
10 changed files with 53 additions and 30 deletions

View file

@ -12,6 +12,7 @@ import Git.Types
import Git.Construct
import qualified Git.Config
import Utility.Env
import Utility.Env.Set
{- Gets the current git repository.
-