Skip to content

Instantly share code, notes, and snippets.

@pbogdan
Last active May 7, 2021 10:04
Show Gist options
  • Save pbogdan/547fb6854500bc93995b486022f286f9 to your computer and use it in GitHub Desktop.
Save pbogdan/547fb6854500bc93995b486022f286f9 to your computer and use it in GitHub Desktop.
Disable tests for a Haskell package in Nix.
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