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:
parent
ea12fb38f4
commit
8d68112be5
10 changed files with 53 additions and 30 deletions
|
@ -10,6 +10,7 @@ module Git.Index where
|
|||
import Common
|
||||
import Git
|
||||
import Utility.Env
|
||||
import Utility.Env.Set
|
||||
|
||||
indexEnv :: String
|
||||
indexEnv = "GIT_INDEX_FILE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue