Skip to content

Commit

Permalink
pkgsStatic.haskellPackages.infer-license: disable checks
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Dec 21, 2024
1 parent adeb1ea commit 67c5c2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,14 @@ self: super: {
# {-# OPTIONS_GHC -F -pgmF hspec-discover #-}
unliftio = dontCheckIf pkgs.stdenv.hostPlatform.isStatic super.unliftio;

# Fails to build in pkgsStatic with:
# Building test suite 'spec' for infer-license-0.2.0..
# ghc: could not execute: hspec-discover
#
# Because of this in Spec.hs:
# {-# OPTIONS_GHC -fforce-recomp -F -pgmF hspec-discover #-}
infer-license = dontCheckIf pkgs.stdenv.hostPlatform.isStatic super.infer-license;

# BSON defaults to requiring network instead of network-bsd which is
# required nowadays: https://github.com/mongodb-haskell/bson/issues/26
bson = appendConfigureFlag "-f-_old_network" (super.bson.override {
Expand Down

0 comments on commit 67c5c2a

Please sign in to comment.