Skip to content

Instantly share code, notes, and snippets.

@mpickering
Created January 3, 2018 22:11
Show Gist options
  • Save mpickering/eedf5f0d2b62d724d179c69964d427dc to your computer and use it in GitHub Desktop.
Save mpickering/eedf5f0d2b62d724d179c69964d427dc to your computer and use it in GitHub Desktop.
self: super:
let head-hackage-overrides =
self: sup: import ./head-hackage/patches.nix { pkgs = super; } self sup;
in
{
simple-server = super.callPackage ./simple-serve/server.nix {};
ghcHEAD = super.haskell.packages.ghcHEAD.override
{ overrides = sel: sup:
((head-hackage-overrides sel sup)
// { mkDerivation = drv: sup.mkDerivation ( drv // { jailbreak = true; }); });
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment