diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8bc7adf3477a..1e9ad10e92e4 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -829,6 +829,10 @@ with haskellLib; # https://github.com/lierdakil/pandoc-crossref/issues/478 pandoc-crossref = doJailbreak super.pandoc-crossref; + # Too strict upper bound on data-default-class (< 0.2) + # https://github.com/stackbuilders/dotenv-hs/issues/203 + dotenv = doJailbreak super.dotenv; + # 2022-01-29: Tests require package to be in ghc-db. aeson-schemas = dontCheck super.aeson-schemas; @@ -875,7 +879,6 @@ with haskellLib; DigitalOcean = dontCheck super.DigitalOcean; directory-layout = dontCheck super.directory-layout; dom-selector = dontCheck super.dom-selector; # http://hydra.cryp.to/build/497670/log/raw - dotenv = dontCheck super.dotenv; # Tests fail because of missing test file on version 0.8.0.2 fixed on version 0.8.0.4 dotfs = dontCheck super.dotfs; # http://hydra.cryp.to/build/498599/log/raw DRBG = dontCheck super.DRBG; # http://hydra.cryp.to/build/498245/nixlog/1/raw ed25519 = dontCheck super.ed25519; @@ -2821,9 +2824,6 @@ with haskellLib; libraryToolDepends = (drv.libraryToolDepends or [ ]) ++ [ pkgs.buildPackages.git ]; }) super.kmonad; - # 2024-03-17: broken - vaultenv = dontDistribute super.vaultenv; - # 2024-01-24: support optparse-applicative 0.18 niv = appendPatches [ (fetchpatch { diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 3db97acdecd8..064a471c49e9 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -756,6 +756,15 @@ builtins.intersectAttrs super { # Break infinite recursion cycle with criterion and network-uri. js-flot = dontCheck super.js-flot; + # Test suite unsets PATH, but wants to be able to run `whoami` + # https://github.com/stackbuilders/dotenv-hs/commit/6125dc2d260c5042f5416c1431882d1c2c91d3c8#issuecomment-3163926427 + dotenv = overrideCabal (drv: { + postPatch = drv.postPatch or "" + '' + substituteInPlace spec/fixtures/.dotenv spec/Configuration/DotenvSpec.hs \ + --replace-fail "whoami" "$(type -p whoami)" + ''; + }) super.dotenv; + # Break infinite recursion cycle between QuickCheck and splitmix. splitmix = dontCheck super.splitmix; splitmix_0_1_1 = dontCheck super.splitmix_0_1_1; diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index 2238dc9d05ba..fe37492dd6b8 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -378,7 +378,7 @@ let uusi uqm uuagc - # vaultenv: broken by connection on 2024-03-16 + vaultenv xmobar xmonadctl xmonad-with-packages