Skip to content

Instantly share code, notes, and snippets.

View codedmart's full-sized avatar

Brandon Martin codedmart

View GitHub Profile
-- | Per-query settings
data RunFlag =
ReadMode ReadModeOpt |
NoReply |
Durability Durability |
Profile |
ArrayLimit Int
data Durability = Hard | Soft
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{ pkgs }:
let
vimrc = import ./vim/vimrc.nix {};
vimPlugins = import ./vim/vimPlugins.nix { inherit pkgs; };
in
with pkgs; rec {
replaceStdenv = { pkgs }: pkgs.allStdenvs.stdenvDarwinPure;
{ pkgs }:
let
vimrc = import ./vim/vimrc.nix {};
vimPlugins = import ./vim/vimPlugins.nix { inherit pkgs; };
in
with pkgs; rec {
allowBroken = true;
@codedmart
codedmart / error
Last active August 29, 2015 14:25
building path(s) ‘/nix/store/hmf7h4a4n3pfazil4s7xhmljz7ifv8d3-haskell-network-2.6.2.1’
setupCompilerEnvironmentPhase
Build with /nix/store/lab259kib5a9hfimxy3284imyhiw5z50-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/3yq58312mv9l1mbzjv4wl74dq35fknm1-network-2.6.2.1.tar.gz
source root is network-2.6.2.1
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/8w/n_txhbn945j9gxp6bz2nhkhr0000gn/T/nix-build-haskell-network-2.6.2.1.drv-0/package.conf.d -j8
[1 of 1] Compiling Main ( Setup.hs, /private/var/folders/8w/n_txhbn945j9gxp6bz2nhkhr0000gn/T/nix-build-haskell-network-2.6.2.1.drv-0/Main.o )
{ mkDerivation, async, base, bytestring, cabal-helper, cereal
, containers, deepseq, directory, djinn-ghc, doctest, emacs
, fetchgit, filepath, ghc, ghc-paths, ghc-syb-utils
, haskell-src-exts, hlint, hspec, monad-control, monad-journal, mtl
, old-time, pretty, process, split, stdenv, syb, temporary, text
, time, transformers, transformers-base
}:
mkDerivation {
pname = "ghc-mod";
version = "0";
{ pkgs }:
let
vimrc = import ./vim/vimrc.nix {};
vimPlugins = import ./vim/vimPlugins.nix { inherit pkgs; };
in
with pkgs; rec {
allowBroken = true;
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.0 found on system at:
/nix/store/37d4r09fx6ipgp3kla9kpjr8krvqpnp6-ghc-7.10.1/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/37d4r09fx6ipgp3kla9kpjr8krvqpnp6-ghc-7.10.1/bin/hpc
building path(s) ‘/nix/store/kplsgxdmdxw67wrjpwqfr3hv64rasvjm-haskell-SHA-1.6.4.2’
setupCompilerEnvironmentPhase
Build with /nix/store/lab259kib5a9hfimxy3284imyhiw5z50-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/whb89grxlv9dpqi60cz3ww0iv2bwlyfs-SHA-1.6.4.2.tar.gz
source root is SHA-1.6.4.2
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/8w/n_txhbn945j9gxp6bz2nhkhr0000gn/T/nix-build-haskell-SHA-1.6.4.2.drv-0/package.conf.d -j8
[1 of 1] Compiling Main ( Setup.hs, /private/var/folders/8w/n_txhbn945j9gxp6bz2nhkhr0000gn/T/nix-build-haskell-SHA-1.6.4.2.drv-0/Main.o )
/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/node_modules/rethinkdbdash/lib/term.js:2171
_nestingLevel = self._r.nestingLevel;
^
TypeError: Cannot read property 'nestingLevel' of undefined
at Term.expr (/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/node_modules/rethinkdbdash/lib/term.js:2171:30)
at Term._wrap (/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/node_modules/rethinkdbdash/lib/term.js:2699:34)
at Term.merge (/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/node_modules/rethinkdbdash/lib/term.js:1298:64)
at /Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/lib/query.js:360:35
at Object.loopKeys (/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/lib/util.js:203:16)
at Query.getJoin (/Users/bmartin/Work/lumi/lumi-flapjack/node_modules/thinky/lib/query.js:307:8)