mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
Merge pull request #41817 from bgamari/T41816
cmake: Only apply application-services.patch with 3.11
This commit is contained in:
commit
51aec3b2ad
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||
# Don't search in non-Nix locations such as /usr, but do search in our libc.
|
||||
patches = [ ./search-path-3.9.patch ]
|
||||
# Don't depend on frameworks.
|
||||
++ optional useSharedLibraries ./application-services.patch # TODO: remove conditional
|
||||
++ optional (useSharedLibraries && majorVersion == "3.11") ./application-services.patch # TODO: remove conditional
|
||||
++ optional stdenv.isCygwin ./3.2.2-cygwin.patch;
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
|
Loading…
Reference in a new issue