Skip to content

Instantly share code, notes, and snippets.

View jezen's full-sized avatar

Jezen Thomas jezen

View GitHub Profile
@pbogdan
pbogdan / haskell-disable-tests
Last active April 11, 2025 14:06
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.