Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ericbmerritt on github.
* I am ericbmerritt (https://keybase.io/ericbmerritt) on keybase.
* I have a public key ASBQF5mlsvQX8wYFIFRkTtwfeVqAkABdOzw4Rp6dzFGtlgo
To claim this, I am signing this object:
# Enable XMonad Desktop Environment.
windowManager = {
xmonad.enable = true;
xmonad.enableContribAndExtras = true;
};
{ stdenv, symlinkJoin, dockerTools, coreutils, writeScript, glibcLocales,
metadrift }:
let
metadriftConfig = {
environment.systemPackages = [ metadrift ];
};
minimalDocker =
remote: -----> Fetching .debs for liblapack-dev
remote: Reading package lists...
remote: Building dependency tree...
remote: The following extra packages will be installed:
remote: libblas-dev libblas3 libgfortran3 liblapack3
remote: The following NEW packages will be installed:
remote: libblas-dev libblas3 libgfortran3 liblapack-dev liblapack3
remote: 0 upgraded, 5 newly installed, 0 to remove and 50 not upgraded.
remote: Need to get 4,173 kB of archives.
remote: After this operation, 19.5 MB of additional disk space will be used.
remote:
remote: -- While building package hmatrix-0.17.0.2 using:
remote: /app/tmp/cache/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.0.0 configure --with-ghc=/app/tmp/cache/.stack/programs/x86_64-linux/ghc-8.0.1/bin/ghc --with-ghc-pkg=/app/tmp/cache/.stack/programs/x86_64-linux/ghc-8.0.1/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/pkgdb --libdir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/lib --bindir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/bin --datadir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/share --libexecdir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/libexec --sysconfdir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/etc --docdir=/app/tmp/cache/.stack/snapshots/x86_64-linux/lts-7.14/8.0.1/doc/hmatrix-0.17.0.2 --htmldir=/app/tmp/cache/.stack/snapsho
@ericbmerritt
ericbmerritt / tmux.conf
Created September 17, 2016 00:36
tmux.conf
set-option -g prefix 'C-\'
bind-key 'C-\' last-window
@ericbmerritt
ericbmerritt / dialyzer.mkf
Created September 2, 2012 14:59
Dialyzer Example Makefile
# -*- mode: Makefile; fill-column: 80; comment-column: 75; -*-
ERL = $(shell which erl)
ERLFLAGS= -pa $(CURDIR)/.eunit -pa $(CURDIR)/ebin -pa $(CURDIR)/*/ebin
REBAR=$(shell which rebar)
ifeq ($(REBAR),)
$(error "Rebar not available on this system")
let
pkgs = import <nixpkgs> {};
stdenv = pkgs.stdenv;
in rec {
re = pkgs.callPackage ./pkgs/ocaml/re/v1.2.1.nix {
inherit (pkgs) stdenv fetchurl ocaml ocaml-findlib;
} ;
Error: This expression has type
string Async.Std.Pipe.Reader.t option ->
Async.Std.Socket.Address.Inet.t ->
Cohttp_async.Request.t ->
Cohttp_async.Server.response Async.Std.Deferred.t
but an expression was expected of type
body:string Async.Std.Pipe.Reader.t option ->
Async.Std.Socket.Address.Inet.t ->
Cohttp_async.Request.t ->
Cohttp_async.Server.response Async.Std.Deferred.t
> roy@0.1.5 install /tmp/build_75b89984-9cda-460c-ac0f-cade59cb23de/node_modules/grunt-roy/node_modules/roy
> node src/grammar.js && node src/typegrammar.js
> grunt-roy@0.0.4 postinstall /tmp/build_75b89984-9cda-460c-ac0f-cade59cb23de/node_modules/grunt-roy
> (cd node_modules/roy && make deps && make && cd ../../) &>/dev/null
npm install
make: npm: Command not found
make: *** [deps] Error 127