haskellPackages.http-client-tls: force rebuild on darwin
Currently everything seems like the derivation's outPath has been corrupted somehow, causing reverse dependencies to fail. Since we can't purge store paths from Hydra and the binary cache easily at the moment, we just make the derivation hash change by inserting an unsubstantial change, causing Hydra to build this package and all reverse dependencies again — hopefully successfully this time around.
This commit is contained in:
parent
4acff2bbde
commit
2341c7e485
1 changed files with 12 additions and 0 deletions
|
@ -256,6 +256,18 @@ self: super: ({
|
|||
] ++ (drv.libraryFrameworkDepends or []);
|
||||
}) super.streamly_0_8_1_1;
|
||||
|
||||
http-client-tls = overrideCabal (drv: {
|
||||
postPatch = ''
|
||||
# This comment has been inserted, so the derivation hash changes, forcing
|
||||
# a rebuild of this derivation which has succeeded to build on Hydra before,
|
||||
# but apparently been corrupted, causing reverse dependencies to fail.
|
||||
#
|
||||
# This workaround can be removed upon the next darwin stdenv rebuild,
|
||||
# presumably https://github.com/NixOS/nixpkgs/pull/152850 or the next
|
||||
# full haskellPackages rebuild.
|
||||
'' + drv.postPatch or "";
|
||||
}) super.http-client-tls;
|
||||
|
||||
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
|
||||
|
||||
# https://github.com/fpco/unliftio/issues/87
|
||||
|
|
Loading…
Reference in a new issue