Skip to content

Instantly share code, notes, and snippets.

View codedmart's full-sized avatar

Brandon Martin codedmart

View GitHub Profile
LOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.6 -Wall -W -fPIE -I../../../mkspecs/macx-clang -I. -o ipv6ifname.o ipv6ifname.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.6 -o ipv6ifname ipv6ifname.o
IPv6 interface name enabled.
getifaddrs auto-detection... ()
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.6 -Wall
Installing GNUstep configuration file in /Library/GNUstep/GNUstep.conf
mkdir: cannot create directory '/Library/GNUstep': Permission denied
/nix/store/jiwdg4gvlvkigk3dkzpxyxhnr2i2y7y5-coreutils-8.24/bin/install: cannot create regular file '/Library/GNUstep/GNUstep.conf': No such file or directory
GNUmakefile:188: recipe for target 'install' failed
applying patch /nix/store/f60zh4jyq40dhzk7mvb4g653lpjh5sbq-no-xcode.patch
patching file tools/gyp/pylib/gyp/xcode_emulation.py
Hunk #1 succeeded at 446 (offset 144 lines).
Hunk #2 succeeded at 579 (offset 152 lines).
Hunk #3 succeeded at 835 with fuzz 2 (offset 153 lines).
Hunk #4 FAILED at 874.
1 out of 4 hunks FAILED -- saving rejects to file tools/gyp/pylib/gyp/xcode_emulation.py.rej
builder for ‘/nix/store/li17xfr06fpnj9ga2n6hf8lvwm78q07g-nodejs-5.1.1.drv’ failed with exit code 1
error: build of ‘/nix/store/li17xfr06fpnj9ga2n6hf8lvwm78q07g-nodejs-5.1.1.drv’ failed
/Users/bmartin/.nix-profile/bin/nix-shell: failed to build all dependencies
shellEnv = with pkgs; buildEnv {
name = "shell-env";
paths = [
pkgs.python
python27Packages.virtualenv
python27Packages.pip
pkgs.nix-prefetch-scripts
pkgs.tmux
pkgs.tmuxinator
pkgs.cabal2nix
Prelude Text.Regex.Applicative
λ> :set -XOverloadedStrings
Prelude Text.Regex.Applicative
λ> let number = "one" *> pure 1 <|> "two" *> pure 2
<interactive>:7:5:
Could not deduce (Data.String.IsString (f a0))
from the context (Num a,
Data.String.IsString (f a2),
Data.String.IsString (f a3),
import React from 'react';
import { findDOMNode } from 'react-dom';
import { Link } from 'react-router';
import { DragSource, DropTarget } from 'react-dnd';
import Utils from '../../common/utils';
import ImageL from '../../components/imageL';
import CAWS from '../../../../../../shared/aws';
import _ from 'lodash';
-- | Run a given query and return a Result
--
-- >>> run h $ num 1 :: IO Int
-- 1
--
-- Due to differences in the response from aeson 0.10 and 0.9 and below
-- we use wildcards to catch a few parts of the error that are similar
-- >>> run h $ str "foo" :: IO (Either RethinkDBError Int)
-- ...Unexpected response...
--
{ compiler ? "ghc7102" }:
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
cabalInstall = if compiler == "ghc763" then haskellPackages.cabal-install_1_18_1_0 else haskellPackages.cabal-install;
ghcMod = if compiler == "ghc763" then null else haskellPackages.ghc-mod;
haskellPackages = if compiler == "ghc763" then
pkgs.haskell.packages.${compiler}.override {
overrides = self: super: {
aeson = pkgs.haskell.lib.dontCheck (pkgs.haskellPackages.aeson_0_10_0_0);
@codedmart
codedmart / Error
Last active December 18, 2015 11:32
Setup: At least the following dependencies are missing:
cabal-helper >=0.6.1.0 && <0.7
builder for ‘/nix/store/h48a1zvq2xil2v7f5jsw7ziv2fgk62h2-ghc-mod-5.4.0.0.drv’ failed with exit code 1
error: build of ‘/nix/store/h48a1zvq2xil2v7f5jsw7ziv2fgk62h2-ghc-mod-5.4.0.0.drv’ failed
r.table('products').filter(function(prod) {
return prod('keywords').coerceTo('string').match('(?i)testing');
});