git.iko.soy/typeable/nixpkgs
on master help sign in
cmake: Only apply application-services.patch with 3.11

The patch doesn't apply with earlier versions. Fixes #41816.

commitf9f0307f7a82902b457b665dbdc80c9bcda96303 authorBen Gamari <ben@smart-cactus.org> dateSun 10 Jun 2018, 21:30 (8 years ago) parent7eb169a
1 file changed+1−1
pkgs/development/tools/build-managers/cmake/default.nix+1−1
pkgs/development/tools/build-managers/cmake/default.nix+1−1
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
5858 # Don't search in non-Nix locations such as /usr, but do search in our libc.
5959 patches = [ ./search-path-3.9.patch ]
6060 # Don't depend on frameworks.
61− ++ optional useSharedLibraries ./application-services.patch # TODO: remove conditional
61+ ++ optional (useSharedLibraries && majorVersion == "3.11") ./application-services.patch # TODO: remove conditional
6262 ++ optional stdenv.isCygwin ./3.2.2-cygwin.patch;
6363
6464 outputs = [ "out" ];