|
613 | 613 | acl_static = previous.acl.overrideAttrs (old: { dontDisableStatic = true; }); |
614 | 614 | attr_static = previous.attr.overrideAttrs (old: { dontDisableStatic = true; }); |
615 | 615 | bash_static = previous.bash.overrideAttrs (old: { dontDisableStatic = true; }); |
616 | | - bzip2_static = previous.bzip2.overrideAttrs (old: { dontDisableStatic = true; }); |
| 616 | + bzip2_static = (previous.bzip2.override { enableStatic = true; }).overrideAttrs (old: { dontDisableStatic = true; }); |
617 | 617 | coreutils_static = previous.coreutils.overrideAttrs (old: { dontDisableStatic = true; }); |
618 | 618 | diffutils_static = previous.diffutils.overrideAttrs (old: { dontDisableStatic = true; }); |
619 | 619 | findutils_static = previous.findutils.overrideAttrs (old: { dontDisableStatic = true; }); |
|
760 | 760 |
|
761 | 761 | openssl = previous.openssl.override { static = true; }; |
762 | 762 |
|
| 763 | + zstd = previous.zstd.override { enableStatic = true; }; |
| 764 | + |
763 | 765 | libsass = previous.libsass.overrideAttrs (old: { dontDisableStatic = true; }); |
764 | 766 |
|
765 | 767 | # Disabling kerberos support for now, as openssh's `./configure` fails to |
@@ -1186,10 +1188,14 @@ let |
1186 | 1188 | # doctests: doctests: unable to load package `ghc-prim-0.5.3' |
1187 | 1189 | yesod-paginator = dontCheck super.yesod-paginator; |
1188 | 1190 |
|
1189 | | - # Disabling test suite because it takes extremely long (> 30 minutes): |
1190 | | - # https://github.com/mrkkrp/zip/issues/55 |
1191 | | - # TODO: Re-enable when we have version `1.3.1` of it which has the fix. |
1192 | | - zip = dontCheck super.zip; |
| 1191 | + # Workaround for `zip`'s dependency `bzlib-conduit` using `extra-libraries: bz` |
| 1192 | + # instead of `pkgconfig-depends`. |
| 1193 | + # TODO: Make a PR to fix that. |
| 1194 | + zip = |
| 1195 | + addStaticLinkerFlagsWithPkgconfig |
| 1196 | + (super.zip.overrideAttrs (old: { configureFlags = (old.configureFlags or []) ++ ["--ghc-options=-v"]; })) |
| 1197 | + [ final.bzip2_static ] |
| 1198 | + "--libs bzip2"; |
1193 | 1199 |
|
1194 | 1200 | # Override libs explicitly that can't be overridden with overlays. |
1195 | 1201 | # See note [Packages that can't be overridden by overlays]. |
@@ -1320,8 +1326,8 @@ let |
1320 | 1326 | hopenpgp-tools = |
1321 | 1327 | addStaticLinkerFlagsWithPkgconfig |
1322 | 1328 | super.hopenpgp-tools |
1323 | | - [ final.nettle final.bzip2 ] |
1324 | | - "--libs nettle bz2"; |
| 1329 | + [ final.nettle final.bzip2_static ] |
| 1330 | + "--libs nettle bzip2"; |
1325 | 1331 |
|
1326 | 1332 | sdl2-gfx = |
1327 | 1333 | addStaticLinkerFlagsWithPkgconfig |
|
0 commit comments