remove dep on Win32-extras

Win32 now has its own getCurrentProcessId.
This commit is contained in:
Joey Hess 2017-11-09 14:03:06 -04:00
parent 5393479ef6
commit 8b5480c66a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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)

View file

@ -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