fix hercules-ci-agent build

This commit is contained in:
Domen Kožar 2022-01-18 10:34:42 +01:00
parent d2ac137811
commit ef5324801f

View file

@ -1521,7 +1521,10 @@ self: super: {
# Upstream issue: https://github.com/haskell-servant/servant-swagger/issues/129 # Upstream issue: https://github.com/haskell-servant/servant-swagger/issues/129
servant-swagger = dontCheck super.servant-swagger; 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 [ hercules-ci-cli = pkgs.lib.pipe super.hercules-ci-cli [
unmarkBroken unmarkBroken