From c0fa44b9be9b611bd9b45cbde1b623f6553b417e Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 13 May 2024 09:47:22 +0200
Subject: [PATCH] [guix] Don't install Python in lib-dir.

Follow-up on
https://gitlab.opengeosys.org/ogs/ogs/-/commit/48a8958785c412f08a32f2efd6ab57da92774308
---
 scripts/cmake/packaging/Pack.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/cmake/packaging/Pack.cmake b/scripts/cmake/packaging/Pack.cmake
index 11e827756ae..80843c7bb2d 100644
--- a/scripts/cmake/packaging/Pack.cmake
+++ b/scripts/cmake/packaging/Pack.cmake
@@ -75,7 +75,7 @@ if(WIN32)
     file(COPY ${PYTHON_RUNTIME_LIBS}
          DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
     )
-else()
+elseif(NOT GUIX_BUILD)
     install(FILES ${Python_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR})
 endif()
 
-- 
GitLab