haskellPackages.foldl: force rebuild on darwin
See comment and message for 2341c7e485
.
This commit is contained in:
parent
2341c7e485
commit
187ac25b8e
1 changed files with 12 additions and 0 deletions
|
@ -268,6 +268,18 @@ self: super: ({
|
|||
'' + drv.postPatch or "";
|
||||
}) super.http-client-tls;
|
||||
|
||||
foldl = 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.foldl;
|
||||
|
||||
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
|
||||
|
||||
# https://github.com/fpco/unliftio/issues/87
|
||||
|
|
Loading…
Reference in a new issue