Skip to content

Instantly share code, notes, and snippets.

@ttuegel
Created June 2, 2014 17:57
Show Gist options
  • Save ttuegel/1e0594ddb51fe3e646a7 to your computer and use it in GitHub Desktop.
Save ttuegel/1e0594ddb51fe3e646a7 to your computer and use it in GitHub Desktop.
Override haskellPackages
{ pkgs }:
{
packageOverrides = self: rec {
haskellPackages_ghcHEAD = self.haskell.packages {
ghcPath = /home/shana/programming/ghc;
ghcBinary = self.haskellPackages.ghcPlain;
prefFun = self.haskell.ghcHEADPrefs;
extraArgs = {
happy = self.haskellPackages.happy_1_19_2;
alex = self.haskellPackages.alex_3_1_3;
};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment