Skip to content

Instantly share code, notes, and snippets.

Tobias Pflug gilligan

Block or report user

Report or block gilligan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
gilligan / poetry.lock
Created Jan 20, 2020
poetry weirdness
View poetry.lock
category = "main"
description = "A database migration tool for SQLAlchemy."
name = "alembic"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.0.10"
Mako = "*"

i3 configuration

First of some fixes for your i3 config:

# Plasma compatibility improvements
for_window [title="Desktop — Plasma"] kill; floating enable; border none
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable

for_window [class="systemsettings"] floating enable
View lens-881.txt
nix-repl> :b haskell.packages.ghc881.lens
builder for '/nix/store/vww3skk5wbd0yvg051zcy2x3k96h3sp9-lens-4.17.1.drv' failed with exit code 1; last 10 log lines:
[17 of 83] Compiling Control.Lens.Internal.Zoom ( src/Control/Lens/Internal/Zoom.hs, dist/build/Control/Lens/Internal/Zoom.p_o )
cc1: error: command line option ‘-traditional’ is valid for the driver but not for C
<no location info>: error:
`cc' failed in phase `C Compiler'. (Exit code: 1)
[80 of 83] Compiling Paths_lens ( dist/build/autogen/Paths_lens.hs, dist/build/Paths_lens.p_o )
cc1: error: command line option ‘-traditional’ is valid for the driver but not for C

small nixpkgs-tungsten workshop

The purpose of this workshop is to give you enough context and information to enable you to build packages from the nixpkgs-tungsten repository - especially the vrouter kernel modules. In this workshop we will:

  • Install & Configure Nix
  • Learn basic commands for building and installing packages
  • Build & Install packages from nixpkgs-tungsten
View contrail-build-error.txt
INFO: Target platform: centos:7.4.1708
INFO: Contrail version: dev
INFO: OpenStack version: queens
INFO: OpenStack subversion (minor package version): 1
INFO: Contrail registry:
INFO: Contrail repository:
INFO: Contrail container tag: queens-dev
INFO: Contrail generic base extra rpms:
INFO: Contrail base extra rpms:
INFO: yum additional repos to enable:
#!/usr/bin/env bash
nix-instantiate --json --eval -E "with import <nixpkgs> {}; lib.attrNames haskell.compiler" | jq "." | grep "ghc...\""
if [ $# -lt 1 ]
echo "No command?"
if [ "$(pidof -s .spotify-wrapped)" = "" ]
gilligan / error.txt
Created Dec 10, 2018
What's going on?
View error.txt
copying path '/nix/store/cq155md2522yhjyzyxvxpy8rds1wiva3-source' from ''...
these derivations will be built:
building '/nix/store/'...
building '/nix/store/n24rwcn6x5sikddb0pvfhx2bfs8ximns-docker-layer-sitesped-runner.drv'...
time="2018-12-10T12:07:58Z" level=fatal msg="Invalid source name docker://sitespeedio/ unsupported digest algorithm"
builder for '/nix/store/' failed with exit code 1
gilligan / day3Part1.hs
Last active Dec 8, 2018
Advent of Code - Day 3 Part 1
View day3Part1.hs
import Data.List (group, sort)
import Text.Trifecta
data FabricRect = FabricRect { fId :: Integer
, fWidth :: Integer
, fHeight :: Integer
, fX :: Integer
, fY :: Integer
} deriving (Show)
View zshrc
# Path to your oh-my-zsh installation.
ZSH=$(nix-env -q --out-path oh-my-zsh | cut -f 3 -d' ')/share/oh-my-zsh
# User configuration
You can’t perform that action at this time.