Skip to content

Instantly share code, notes, and snippets.

Avatar
✈️
Hacking on the road

Jezen Thomas jezen

✈️
Hacking on the road
View GitHub Profile
@kuznero
kuznero / nix-shell-w-ghc-package.md
Created Sep 9, 2017
Start nix-shell with specific haskell packages
View nix-shell-w-ghc-package.md
nix-shell -p "haskell.packages.ghc821.ghcWithPackages (pkgs: with pkgs; [ hakyll pandoc ])"
@pbogdan
pbogdan / haskell-disable-tests
Last active May 7, 2021
Disable tests for a Haskell package in Nix.
View haskell-disable-tests
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 Dec 22, 2016
The `git get` command to replace `git pull` with a sophisticated rebase strategy
View git-get
#!/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.