Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: unix-2.8.6.0 semaphore-compat-1.0.0 ghc-9.8.4 process-1.6.25.0 haskeline-0.8.2.1 Cabal-3.10.3.0 ghci-9.8.4 ghc-boot-9.8.4 directory-1.3.8.5 hpc-0.7.0.0 Cabal-syntax-3.10.3.0 Continuing even though the plan contains dangerous reinstalls. Failed to install StateVar-1.2.2 Error: cabal: Some packages failed to install: StateVar-1.2.2-FkX29h2fwdP2Mo2NQELJhZ failed during the configure step. The exception was: getCurrentDirectory:getWorkingDirectory: does not exist (Current working directory no longer exists) contravariant-1.5.5-9OZxSMGmONm3FLxTwjX4ym depends on contravariant-1.5.5 which failed to install. either-5.0.2-FahI1dUAy0KDiUXAInoQeO depends on either-5.0.2 which failed to install. profunctors-5.6.2-66r42QhEfMcENCrPuZPFHG depends on profunctors-5.6.2 which failed to install. semigroupoids-6.0.1-7ES8JjLMXdZEGqL0EVVKqX depends on semigroupoids-6.0.1 which failed to install. xcffib-1.8.0-35Oynhpwm0O8CnBqmwlbk7 depends on xcffib-1.8.0 which failed to install. rm: cannot remove 'cabal-config.pBt': No such file or directory