mariadb: move patches to subfolder

This commit is contained in:
Izorkin
2021-11-19 20:58:04 +03:00
parent 595511e632
commit 1fa2e5fdc9
4 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -50,11 +50,11 @@ common = rec { # attributes common to both builds
'';
patches = [
./cmake-includedir.patch
./patch/cmake-includedir.patch
]
# Fixes a build issue as documented on
# https://jira.mariadb.org/browse/MDEV-26769?focusedCommentId=206073&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-206073
++ lib.optional (!stdenv.isLinux) ./macos-MDEV-26769-regression-fix.patch;
++ lib.optional (!stdenv.isLinux) ./patch/macos-MDEV-26769-regression-fix.patch;
cmakeFlags = [
"-DBUILD_CONFIG=mysql_release"
@@ -134,7 +134,7 @@ client = stdenv.mkDerivation (common // {
outputs = [ "out" "man" ];
patches = common.patches ++ [
./cmake-plugin-includedir.patch
./patch/cmake-plugin-includedir.patch
];
cmakeFlags = common.cmakeFlags ++ [