diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index cff4b641b31b..164cb3c00c53 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1521,7 +1521,10 @@ self: super: { # Upstream issue: https://github.com/haskell-servant/servant-swagger/issues/129 servant-swagger = dontCheck super.servant-swagger; - hercules-ci-agent = generateOptparseApplicativeCompletion "hercules-ci-agent" super.hercules-ci-agent; + # substituteInPlace: https://github.com/hercules-ci/hercules-ci-agent/issues/363 + hercules-ci-agent = overrideCabal { preConfigure = '' + substituteInPlace hercules-ci-agent/Hercules/Agent/Cachix/Init.hs --replace "Cachix.Client.Env" "Cachix.Client.Version" + ''; } (generateOptparseApplicativeCompletion "hercules-ci-agent" super.hercules-ci-agent); hercules-ci-cli = pkgs.lib.pipe super.hercules-ci-cli [ unmarkBroken