boost18{7,9}: move cygwin patch to generic.nix (#497889)
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
...
|
||||
}@args:
|
||||
{ callPackage, fetchurl, ... }@args:
|
||||
|
||||
callPackage ./generic.nix (
|
||||
args
|
||||
@@ -21,7 +15,5 @@ callPackage ./generic.nix (
|
||||
# SHA256 from http://www.boost.org/users/history/version_1_87_0.html
|
||||
sha256 = "af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89";
|
||||
};
|
||||
|
||||
patches = lib.optional stdenv.hostPlatform.isCygwin ./Fix-cygwin-build-187.patch;
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchurl,
|
||||
...
|
||||
}@args:
|
||||
{ callPackage, fetchurl, ... }@args:
|
||||
|
||||
callPackage ./generic.nix (
|
||||
args
|
||||
@@ -21,7 +15,5 @@ callPackage ./generic.nix (
|
||||
# SHA256 from http://www.boost.org/users/history/version_1_89_0.html
|
||||
sha256 = "85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a";
|
||||
};
|
||||
|
||||
patches = lib.optional stdenv.hostPlatform.isCygwin ./Fix-cygwin-build-189.patch;
|
||||
}
|
||||
)
|
||||
|
||||
@@ -255,7 +255,13 @@ stdenv.mkDerivation {
|
||||
extraPrefix = "libs/context/";
|
||||
hash = "sha256-Z8uw2+4IEybqVcU25i/0XJKS16hi/+3MXUxs53ghjL0=";
|
||||
})
|
||||
];
|
||||
]
|
||||
++ lib.optional (
|
||||
stdenv.hostPlatform.isCygwin && lib.versionAtLeast version "1.87" && lib.versionOlder version "1.88"
|
||||
) ./Fix-cygwin-build-187.patch
|
||||
++ lib.optional (
|
||||
stdenv.hostPlatform.isCygwin && lib.versionAtLeast version "1.89" && lib.versionOlder version "1.90"
|
||||
) ./Fix-cygwin-build-189.patch;
|
||||
|
||||
meta = {
|
||||
homepage = "http://boost.org/";
|
||||
|
||||
Reference in New Issue
Block a user