aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch
blob: 1358e3063394591a4ece0199dc90babb96b3c573 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Do not override PYTHONPATH when calling Python code from the Haskell
daemons.  This is necessary because the Python library dependencies are
only available through PYTHONPATH.

diff --git a/src/Ganeti/Query/Exec.hs b/src/Ganeti/Query/Exec.hs
--- a/src/Ganeti/Query/Exec.hs
+++ b/src/Ganeti/Query/Exec.hs
@@ -99,12 +99,10 @@ spawnJobProcess jid = withErrorLogAt CRITICAL (show jid) $
   do
     use_debug <- isDebugMode
     env_ <- (M.toList . M.insert "GNT_DEBUG" (if use_debug then "1" else "0")
-            . M.insert "PYTHONPATH" AC.pythondir
             . M.fromList)
            `liftM` getEnvironment
     execPy <- P.jqueueExecutorPy
     logDebug $ "Executing " ++ AC.pythonPath ++ " " ++ execPy
-               ++ " with PYTHONPATH=" ++ AC.pythondir
 
     (master, child) <- pipeClient connectConfig
     let (rh, wh) = clientToHandle child

e to 0.7.2. [inputs]: Add python-packaging. Tobias Geerinckx-Rice 2020-09-26gnu: cozy: Update to 0.7.1....* gnu/packages/ebook.scm (cozy): Update to 0.7.1. [arguments]: Substitute only the Exec line in the desktop file. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vinicius Monego 2020-09-18gnu: calibre: Clean up 'wrap phase....Based on the suggestion of the author, this commit cleans up the changes introduced by fd3eac4dd774597d493e6d8aae7b1c2653070bc7 For more information, see: https://issues.guix.gnu.org/43249 * gnu/packages/e-book.scm (calibre): [arguments]: Remove the manual 'wrap phase replacement and add a 'wrap-program phase after standard 'wrap phase to make the runtime dependency QtWebEngineProcess available to the binaries. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Prafulla Giri 2020-09-18gnu: Add cozy....* gnu/packages/ebook.scm (cozy): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Vinicius Monego 2020-09-08gnu: calibre: Wrap QTWEBENGINEPROCESS_PATH....* gnu/packages/ebook.scm (calibre): Wrap QTWEBENGINEPROCESS_PATH in addition to wrapping PYTHONPATH as python-build-system does. Signed-off-by: Andreas Enge <andreas@enge.fr> Brendan Tildesley 2020-08-23gnu: ebook.scm: Remove duplicate module import....Signed-off-by: Leo Famulari <leo@famulari.name> Brendan Tildesley 2020-06-08gnu: calibre: Update to 4.18.0....* gnu/packages/patches/calibre-remove-test-bs4.patch, gnu/packages/patches/calibre-msgpack-compat.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/ebook.scm (calibre): Update to 4.18.0. [source](patches): Remove obsolete patches. [source](snippet): Disable test for bundled odfpy. [inputs]: Add HUNSPELL, HYPHEN, PYTHON2-BEAUTIFULSOUP4, PYTHON2-PYQTWEBENGINE, and QTWEBENGINE. [arguments]: Add phase 'patch-more-shebangs'. Adjust configure phase to set HOME and make fonts available. Simplify one substitution, and provide the absolute file name of 'sip'. Marius Bakke 2020-05-10gnu: fbreader: Fix build failure....* gnu/packages/ebook.scm (fbreader)[native-inputs]: Distinguish GCC-5. [arguments]: Add phase 'augment-CPLUS_INCLUDE_PATH'. Marius Bakke 2020-04-08Merge branch 'master' into core-updates... Conflicts: etc/news.scm gnu/local.mk gnu/packages/check.scm gnu/packages/cross-base.scm gnu/packages/gimp.scm gnu/packages/java.scm gnu/packages/mail.scm gnu/packages/sdl.scm gnu/packages/texinfo.scm gnu/packages/tls.scm gnu/packages/version-control.scm Marius Bakke 2020-04-03gnu: calibre: Fix build with python-msgpack >= 1.0....* gnu/packages/patches/calibre-msgpack-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/ebook.scm (calibre)[source](patches): Add it. Marius Bakke 2020-03-04Merge branch 'master' into core-updatesMarius Bakke 2020-02-21gnu: calibre: Use HTTPS home page....* gnu/packages/ebook.scm (calibre)[home-page]: Use HTTPS. Tobias Geerinckx-Rice