Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created August 19, 2019 02:27
Show Gist options
  • Save freeman42x/1006ba832f908773debda2c415d802b7 to your computer and use it in GitHub Desktop.
Save freeman42x/1006ba832f908773debda2c415d802b7 to your computer and use it in GitHub Desktop.
sClose hstatsd
iproute-1.7.7: copy/register
HTTP-4000.3.13: copy/register
regex-tdfa-1.2.3.1: copy/register
haskell-src-exts-1.21.0: copy/register
Progress 27/84
-- While building package hstatsd-0.1 using:
/home/neo/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/neo/Forks/lambdabot/.stack-work/logs/hstatsd-0.1.log
Configuring hstatsd-0.1...
Preprocessing library for hstatsd-0.1..
Building library for hstatsd-0.1..
[1 of 1] Compiling Network.StatsD ( src/Network/StatsD.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/Network/StatsD.o )
/tmp/stack-b79a0bb352d63921/hstatsd-0.1/src/Network/StatsD.hs:73:15: error:
• Variable not in scope: sClose :: Socket -> c
• Perhaps you meant ‘close’ (imported from Network.Socket)
|
73 | closeStatsD = sClose . connection
| ^^^^^^
-- While building package hslogger-1.2.12 using:
/home/neo/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
Logs have been written to: /home/neo/Forks/lambdabot/.stack-work/logs/hslogger-1.2.12.log
Configuring hslogger-1.2.12...
Preprocessing library for hslogger-1.2.12..
Building library for hslogger-1.2.12..
[1 of 8] Compiling System.Log ( src/System/Log.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log.o )
[2 of 8] Compiling System.Log.Formatter ( src/System/Log/Formatter.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Formatter.o )
[3 of 8] Compiling System.Log.Handler ( src/System/Log/Handler.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Handler.o )
[4 of 8] Compiling System.Log.Handler.Growl ( src/System/Log/Handler/Growl.hs, .stack-work/dist/x86_64-linux-nix/Cabal-2.4.0.1/build/System/Log/Handler/Growl.o )
/tmp/stack-b79a0bb352d63921/hslogger-1.2.12/src/System/Log/Handler/Growl.hs:21:1: error:
Could not load module ‘Network.BSD’
It is a member of the hidden package ‘network-2.8.0.1’.
Perhaps you need to add ‘network’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
|
21 | import Network.BSD
| ^^^^^^^^^^^^^^^^^^
direnv: loading .envrc
Uh oh, your lorri daemon is not running.
direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +GIT_SSL_CAINFO +HOST_PATH +IN_NIX_SHELL +LD +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST +NIX_BUILD_CORES +NIX_BUILD_TOP +NIX_CC +NIX_CC_WRAPPER_x86_64_unknown_linux_gnu_TARGET_HOST +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_INDENT_MAKE +NIX_LDFLAGS +NIX_LOG_FD +NIX_STORE +NM +OBJCOPY +OBJDUMP +PKG_CONFIG_PATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STACK_IN_NIX_EXTRA_ARGS +STACK_IN_NIX_SHELL +STACK_PLATFORM_VARIANT +STRINGS +STRIP +_PATH +allowSubstitutes +buildInputs +buildPhase +builder +checkPhase +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +extraClosure +ghc +installPhase +name +nativeBuildInputs +origArgs +origBuilder +origExtraClosure +origOutputs +origPATH +origSystem +out +outputs +preConfigure +preHook +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +stdenv +strictDeps +system ~LD_LIBRARY_PATH ~LOCALE_ARCHIVE ~PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment