Last active
November 28, 2018 10:19
-
-
Save moredhel/1ee4cda28ce44566d96afd8c47ad37aa to your computer and use it in GitHub Desktop.
Haskell Discord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation, aeson, async, base, base64-bytestring, bytestring | |
, containers, data-default, http-client, iso8601-time, JuicyPixels | |
, MonadRandom, req, safe-exceptions, stdenv, text, time | |
, unordered-containers, vector, websockets, wuss | |
}: | |
mkDerivation { | |
pname = "discord-haskell"; | |
version = "0.6.0"; | |
sha256 = "7c5b1fe3f2fa16fc2909773a6d3e57c91018193cc35cea11890c603aa0fb0288"; | |
libraryHaskellDepends = [ | |
aeson async base base64-bytestring bytestring containers | |
data-default http-client iso8601-time JuicyPixels MonadRandom req | |
safe-exceptions text time unordered-containers vector websockets | |
wuss | |
]; | |
homepage = "https://github.com/aquarial/discord-haskell"; | |
description = "Write bots for Discord in Haskell"; | |
license = stdenv.lib.licenses.mit; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ haskellPackages | |
, stdenv | |
}: | |
stdenv.mkDerivation { | |
name = "discord-haskell"; | |
version = "0.6.0"; | |
sha256 = "7c5b1fe3f2fa16fc2909773a6d3e57c91018193cc35cea11890c603aa0fb0288"; | |
libraryHaskellDepends = with haskellPackages; [ | |
aeson async base base64-bytestring bytestring containers | |
data-default http-client iso8601-time JuicyPixels MonadRandom req | |
safe-exceptions text time unordered-containers vector websockets | |
wuss | |
]; | |
homepage = "https://github.com/aquarial/discord-haskell"; | |
description = "Write bots for Discord in Haskell"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
these derivations will be built: | |
/nix/store/8xx9s7w83nd58kq9n7x1739x1hlamd5z-discord-haskell-0.6.0.drv | |
building '/nix/store/8xx9s7w83nd58kq9n7x1739x1hlamd5z-discord-haskell-0.6.0.drv'... | |
setupCompilerEnvironmentPhase | |
Build with /nix/store/n5i1zdpmk2b1s3z96649xh8f9kr3g96s-ghc-8.4.3. | |
ignoring (possibly broken) abi-depends field for packages | |
ignoring (possibly broken) abi-depends field for packages | |
unpacking sources | |
unpacking source archive /nix/store/pzmg6vn4rz912isg78sqj9cafrqisqrn-discord-haskell-0.6.0.tar.gz | |
source root is discord-haskell-0.6.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1539399556 of file discord-haskell-0.6.0/discord-haskell.cabal | |
patching sources | |
compileBuildDriverPhase | |
setupCompileFlags: -package-db=/build/setup-package.conf.d -j1 -threaded | |
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/Main.o ) | |
Linking Setup ... | |
configuring | |
configureFlags: --verbose --prefix=/nix/store/d78vy62d579pkb8k2mxs212yqlfs1w5h-discord-haskell-0.6.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/j99mnx5v6q0ddyw1854dbhjd9qr89ln9-discord-haskell-0.6.0-doc/share/doc/discord-haskell-0.6.0 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j1 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/s2n99784krxl91mfw3cnn9ylbb5fjvkx-ncurses-6.1/lib --extra-lib-dirs=/nix/store/rxaclc3vhxbzgfllv7601i85z854h48a-gmp-6.1.2/lib | |
Using Parsec parser | |
Configuring discord-haskell-0.6.0... | |
CallStack (from HasCallStack): | |
die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-2.2.0.1:Distribution.Simple.Configure | |
configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-2.2.0.1:Distribution.Simple.Configure | |
configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.2.0.1:Distribution.Simple | |
confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1:Distribution.Simple.UserHooks | |
configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.2.0.1:Distribution.Simple | |
defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.2.0.1:Distribution.Simple | |
defaultMain, called at /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs:2:8 in main:Main | |
Setup: Encountered missing dependencies: | |
aeson >=1.2.4.0 && <1.3, | |
async >=2.1.1.1 && <2.2, | |
req >=1.0.0 && <1.1 | |
builder for '/nix/store/8xx9s7w83nd58kq9n7x1739x1hlamd5z-discord-haskell-0.6.0.drv' failed with exit code 1 | |
error: build of '/nix/store/8xx9s7w83nd58kq9n7x1739x1hlamd5z-discord-haskell-0.6.0.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment