The process library 1.6.12.0 (released today) now contains a cross-platform getCurrentPid function. This can be used instead of the CPP Process.hs module, and the os-conditionals in package.yaml that we have.
This change can be done already via extra-deps, but it might be better to wait for inclusion in a Stackage snapshot and bump the resolver accordingly.
The
process
library 1.6.12.0 (released today) now contains a cross-platformgetCurrentPid
function. This can be used instead of the CPP Process.hs module, and the os-conditionals in package.yaml that we have.This change can be done already via
extra-deps
, but it might be better to wait for inclusion in a Stackage snapshot and bump the resolver accordingly.