Last active
May 7, 2021 10:04
-
-
Save pbogdan/547fb6854500bc93995b486022f286f9 to your computer and use it in GitHub Desktop.
Disable tests for a Haskell package in Nix.
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: | |
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; | |
}; | |
}; | |
}; | |
}; | |
}; | |
for deault haskell package set: | |
nixpkgs.config.packageOverrides = pkgs: | |
{ | |
haskellPackages = pkgs.haskellPackages.override { | |
overrides = self: super: | |
{ | |
ghc-syb-utils = pkgs.haskell.lib.dontCheck super.ghc-syb-utils; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment