remove dep on Win32-extras
Win32 now has its own getCurrentProcessId.
This commit is contained in:
parent
5393479ef6
commit
8b5480c66a
3 changed files with 2 additions and 5 deletions
|
@ -13,8 +13,7 @@ module Utility.PID where
|
|||
import System.Posix.Types (ProcessID)
|
||||
import System.Posix.Process (getProcessID)
|
||||
#else
|
||||
import System.Win32.Process (ProcessId)
|
||||
import System.Win32.Process.Current (getCurrentProcessId)
|
||||
import System.Win32.Process (ProcessId, getCurrentProcessId)
|
||||
#endif
|
||||
|
||||
#ifndef mingw32_HOST_OS
|
||||
|
|
|
@ -381,8 +381,7 @@ Executable git-annex
|
|||
|
||||
if (os(windows))
|
||||
Build-Depends:
|
||||
Win32 (== 2.3.1.1),
|
||||
Win32-extras,
|
||||
Win32 (>= 2.6.1.0),
|
||||
unix-compat (>= 0.5),
|
||||
setenv,
|
||||
process (>= 1.4.2.0)
|
||||
|
|
|
@ -23,7 +23,6 @@ extra-deps:
|
|||
- yesod-default-1.2.0
|
||||
- Win32-2.6.1.0
|
||||
- unix-compat-0.5
|
||||
allow-newer: true
|
||||
explicit-setup-deps:
|
||||
git-annex: true
|
||||
resolver: lts-9.10
|
||||
|
|
Loading…
Reference in a new issue