This file contains hidden or 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
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
| import Data.Monoid ((<>)) | |
| import Data.Aeson |
This file contains hidden or 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
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| import Data.Monoid ((<>)) | |
| import Data.Aeson | |
| import GHC.Generics |
This file contains hidden or 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
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE DeriveGeneric #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| import Data.Monoid ((<>)) | |
| import Data.Aeson | |
| import GHC.Generics |
This file contains hidden or 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
| Main.hs:65:17: | |
| Couldn't match type ‘a’ with ‘ResponseReceived’ | |
| ‘a’ is a rigid type variable bound by | |
| a type expected by the context: | |
| Int -> BS.ByteString -> Builder.Builder -> SocketM a | |
| at Main.hs:58:17 | |
| Expected type: SocketM a | |
| Actual type: ReaderT | |
| (Request, Response -> IO ResponseReceived) IO ResponseReceived | |
| In a stmt of a 'do' block: |
This file contains hidden or 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
| Entering slow growth mode | |
| Fail to create a new connection for the connection pool The error returned was: | |
| Failed to connect to localhost:28015 | |
| Full error: | |
| { | |
| "code": "EMFILE", | |
| "errno": "EMFILE", | |
| "syscall": "connect" | |
| }. | |
| ReqlDriverError: Failed to connect to localhost:28015 |
This file contains hidden or 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
| [1 of 1] Compiling Network.Wai.Middleware.Cors ( src/Network/Wai/Middleware/Cors.hs, dist/build/Network/Wai/Middleware/Cors.o ) | |
| src/Network/Wai/Middleware/Cors.hs:115:1: Warning: | |
| Defined but not used: type constructor or class ‘ReqMonad’ | |
| src/Network/Wai/Middleware/Cors.hs:348:19: Warning: | |
| This binding for ‘respOrigin’ shadows the existing binding | |
| bound at src/Network/Wai/Middleware/Cors.hs:340:13 | |
| In-place registering wai-cors-0.2.3... | |
| Preprocessing test suite 'phantomjs' for wai-cors-0.2.3... |
This file contains hidden or 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
| r.db('db').table('orders').filter(function(o) { | |
| return r.expr(['#1912', '#1931']).includes(o('some')('name')) | |
| }); |
This file contains hidden or 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
| data ApiInfo = ApiInfo { | |
| name :: T.Text, | |
| version :: T.Text | |
| } deriving (Eq, Generic) | |
| instance FromJSON ApiInfo | |
| instance ToJSON ApiInfo | |
| data Config = Config { | |
| info :: ApiInfo |
This file contains hidden or 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
| error: cannot download ImageMagick-6.9.1-0.tar.xz from any mirror | |
| builder for ‘/nix/store/rrrcxsnmbz5314g3pnd6gwc83i0vr97n-ImageMagick-6.9.1-0.tar.xz.drv’ failed with exit code 1 | |
| building path(s) ‘/nix/store/6ngnrc9mvmmha6lsjzmjad9nn5873gxy-atk-2.16.0.tar.xz’ | |
| cannot build derivation ‘/nix/store/hpniwxc49hs99nffpwxjxv1kssx26rz2-imagemagick-6.9.1-0.drv’: 1 dependencies couldn't be built | |
| killing process 1241 | |
| cannot build derivation ‘/nix/store/dk0c15haqccvb3hbffi3bymbhydcnqbc-lumi-env.drv’: 1 dependencies couldn't be built | |
| error: build of ‘/nix/store/dk0c15haqccvb3hbffi3bymbhydcnqbc-lumi-env.drv’ failed |
This file contains hidden or 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
| ... | |
| (substituteAll { | |
| src = ./0005-dlopen-gl.patch; | |
| openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path"; | |
| }) | |
| ./0006-tzdir.patch | |
| (substituteAll { if stdenv.isDarwin then src = ./0008-dlopen-webkit-udev.patch; inherit udev; else null; }) | |
| (substituteAll { if stdenv.isDarwin then src = ./0009-dlopen-serialport-udev.patch; inherit udev; else null; }) | |
| (substituteAll { src = ./0010-dlopen-libXcursor.patch; inherit libXcursor; }) | |
| (substituteAll { src = ./0011-dlopen-openssl.patch; inherit openssl; }) |