diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-01-03 14:50:21 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-01-03 14:50:21 +0100 |
commit | 2341c7e485374eff7faa03136364f9ee93828826 (patch) | |
tree | 7c8e82e88cd0d5a8f87595e23f95f904fc52fc55 /pkgs/development/haskell-modules/configuration-darwin.nix | |
parent | 4acff2bbdedb6892f4fe6225d77aa184a4500a82 (diff) |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-darwin.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-darwin.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 5248523e0cd1f..367cd5a1aca3c 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -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 |