Skip to content

Instantly share code, notes, and snippets.

@ocharles
Last active May 18, 2017 11:26
Show Gist options
  • Save ocharles/19874866615b1585048a8a83511f5182 to your computer and use it in GitHub Desktop.
Save ocharles/19874866615b1585048a8a83511f5182 to your computer and use it in GitHub Desktop.
# Override haskellPackages within nixpkgs.
self: pkgs:
{
haskellPackages =
pkgs.haskell.packages.ghc802.override
{
overrides =
self: super:
with pkgs.haskell.lib;
let
inherit (pkgs) fetchgit fetchurl fetchFromGitHub;
in
{
rel8 = super.callPackage (fetchgit {
url = git://github.com/ocharles/rel8;
rev = "49e986451586769af60005641cd09c0a2423ff53";
sha256 = "1svvzj03g3nz8ql82lq2b8idjyx596ybp2mlg1cn3mmfv26lzsbl";
}) {};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment