Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting network-3.1.0.0 Building network-3.1.0.0 Completed network-3.1.0.0 Starting systemd-1.2.0 Building systemd-1.2.0 Failed to install systemd-1.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/systemd-1.2.0-65CYLRf7E0aKsoYnyX7Rw0.log ): cabal: Entering directory '/tmp/cabal-tmp-5262/systemd-1.2.0' Configuring systemd-1.2.0... Preprocessing library for systemd-1.2.0.. Building library for systemd-1.2.0.. [1 of 1] Compiling System.Systemd.Daemon ( System/Systemd/Daemon.hs, dist/build/System/Systemd/Daemon.o ) System/Systemd/Daemon.hs:93:45: error: Module ‘Network.Socket.Internal’ does not export ‘withSockAddr’ | 93 | import Network.Socket.Internal (withSockAddr) | ^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-5262/systemd-1.2.0' cabal: Error: some packages failed to install: systemd-1.2.0-65CYLRf7E0aKsoYnyX7Rw0 failed during the building phase. The exception was: ExitFailure 1