Created
July 4, 2017 17:56
-
-
Save pbogdan/31d5c06af9d9e9dbaa618bd44cb4810d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ghc802 specifically: | |
packageOverrides = pkgs: with pkgs; rec { | |
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; | |
apply-refact = pkgs.haskell.lib.overrideCabal super.apply-refact (drv: {version = ".."; sha256 = "..";}); | |
}; | |
}; | |
}; | |
}; | |
for deault haskell package set: | |
packageOverrides = pkgs: with pkgs; rec { | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = self: super: | |
{ | |
ghc-syb-utils = pkgs.haskell.lib.dontCheck super.ghc-syb-utils; | |
apply-refact = pkgs.haskell.lib.overrideCabal super.apply-refact (drv: {version = ".."; sha256 = "..";}); | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment