Skip to content

Instantly share code, notes, and snippets.

View jezen's full-sized avatar

Jezen Thomas jezen

View GitHub Profile
@kuznero
kuznero / nix-shell-w-ghc-package.md
Created September 9, 2017 16:55
Start nix-shell with specific haskell packages
nix-shell -p "haskell.packages.ghc821.ghcWithPackages (pkgs: with pkgs; [ hakyll pandoc ])"
@pbogdan
pbogdan / haskell-disable-tests
Last active May 7, 2021 10:04
Disable tests for a Haskell package in Nix.
for ghc802 specifically:
nixpkgs.config.packageOverrides = pkgs:
{
haskell = pkgs.haskell // {
packages = pkgs.haskell.packages // {
ghc802 = pkgs.haskell.packages.ghc802.override {
overrides = self: super:
{
ghc-syb-utils = pkgs.haskell.lib.dontCheck super.ghc-syb-utils;
@Boldewyn
Boldewyn / git-get
Last active December 22, 2016 10:37
The `git get` command to replace `git pull` with a sophisticated rebase strategy
#!/bin/bash
#
# git get
#
# Place this script in your path, so that git(1) can find it. Presto!
# You can now type `git get` instead of `git pull` and enjoy the
# advantages of rebasing atop instead of merging remote changes.
#
# If you have local changes, use `git get --stash` to stash and
# pop afterwards your changes automatically.