File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
9
9
zlib = prev . zlib . override { splitStaticOutput = false ; } ;
10
10
11
11
# and a few more packages that need their static libs explicitly enabled
12
- bzip2 = prev . bzip2 . override { linkStatic = true ; } ;
12
+ bzip2 = prev . bzip2 . override { enableStatic = true ; } ;
13
13
gmp = prev . gmp . override { withStatic = true ; } ;
14
14
ncurses = prev . ncurses . override { enableStatic = true ; } ;
15
15
libsodium = prev . libsodium . overrideAttrs ( _ : { dontDisableStatic = true ; } ) ;
@@ -40,4 +40,8 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
40
40
} // prev . lib . optionalAttrs ( prev . lib . versionAtLeast prev . lib . trivial . release "20.03" ) {
41
41
# Fix infinite recursion between openssh and fetchcvs
42
42
openssh = prev . openssh . override { withFIDO = false ; } ;
43
+ } // prev . lib . optionalAttrs ( prev . lib . versionOlder prev . lib . trivial . release "23.11" ) {
44
+ # This option was renamed to enableStatic, to be more consistent with packages with a similar
45
+ # static toggles. However, it now correctly defaults to true when `hostPlatform.isStatic` is true.
46
+ bzip2 = prev . bzip2 . override { linkStatic = true ; } ;
43
47
} )
You can’t perform that action at this time.
0 commit comments